Hello Christoph,

Am 04.12.2018 um 11:27 schrieb Christoph Muellner:
In case SYS_I2C or DM_I2C are defined, then the "i2c " prefix
of the "i2c crc32" command is missing.
This patch addresses this, so that users can't get confused
by the "crc32" command.

Without the patch we get

     => i2c help
     i2c - I2C sub-system

     Usage:
     i2c bus [muxtype:muxaddr:muxchannel] - show I2C bus info
     crc32 chip address[.0, .1, .2] count - compute CRC32 checksum
     i2c dev [dev] - show or set current I2C bus
     [...]

With the patch we get

     => i2c help
     i2c - I2C sub-system

     Usage:
     i2c bus [muxtype:muxaddr:muxchannel] - show I2C bus info
     i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum
     i2c dev [dev] - show or set current I2C bus
     ...

Signed-off-by: Christoph Muellner <[email protected]>
---
  cmd/i2c.c | 1 +
  1 file changed, 1 insertion(+)

Good catch, thanks!

Reviewed-by: Heiko Schocher <[email protected]>

bye,
Heiko
--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to