Christoph Muellner 19f8c4dfb6 cmd: i2c: Fix help output of i2c command.
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 <christoph.muellner@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
2018-12-10 07:30:58 +01:00
..
2018-08-11 09:16:08 +02:00
2018-12-04 19:45:57 +01:00
2018-05-23 17:30:05 -04:00
2018-12-04 19:44:57 +01:00
2018-09-25 21:49:18 -04:00
2018-08-20 07:21:29 -04:00
2018-08-21 16:21:37 +02:00
2018-09-23 21:55:30 +02:00
2018-09-11 11:00:54 +02:00
2018-12-04 19:44:57 +01:00
2018-10-02 22:12:32 +05:30
2018-09-28 18:27:33 +02:00
2018-11-16 16:51:56 -05:00
2018-05-08 09:07:35 -04:00
2018-11-22 11:39:52 +05:30
2018-09-28 20:22:36 -04:00
2018-07-02 14:14:20 -05:00