]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd_i2c: Fix i2c help command output when CONFIG_I2C_MUX
authorPeter Tyser <ptyser@xes-inc.com>
Sun, 19 Apr 2009 03:34:06 +0000 (22:34 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:39:46 +0000 (20:39 +0200)
commit9166b776350d16460c7330bfb0a50154ea0a1903
tree6666a63ddd5a67128f7b1e89d6d5749eea9ec6ba
parent0a45a6357b02e5ce5bf899a60db09def6a129fee
cmd_i2c: Fix i2c help command output when CONFIG_I2C_MUX

When CONFIG_I2C_MUX was defined the output of 'help i2c' was not
correct, eg:

=> help i2c
i2c bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes.
speed [speed] - show or set I2C bus speed
i2c dev [dev] - show or set current I2C bus
...

It has been changed to:
i2c speed [speed] - show or set I2C bus speed
i2c bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes
i2c dev [dev] - show or set current I2C bus
...

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
common/cmd_i2c.c