diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-02-25 10:12:15 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-03-21 22:44:43 +0100 |
commit | fb0070e9101a1f288d7054f7e80b3d808fd7ead2 (patch) | |
tree | c5e76d3657d5253aa4d6e95ff49b6fb5b6d2b3dd | |
parent | bfc3b77ebe68435b46e988e3a440bc4857bc7cf4 (diff) | |
download | u-boot-imx-fb0070e9101a1f288d7054f7e80b3d808fd7ead2.zip u-boot-imx-fb0070e9101a1f288d7054f7e80b3d808fd7ead2.tar.gz u-boot-imx-fb0070e9101a1f288d7054f7e80b3d808fd7ead2.tar.bz2 |
cmd_i2c.c: sorted commands alphabetically
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
-rw-r--r-- | common/cmd_i2c.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 11ed511..b51d0c9 100644 --- a/common/cmd_i2c.c +++ b/common/cmd_i2c.c @@ -1302,25 +1302,24 @@ int do_i2c(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) U_BOOT_CMD( i2c, 6, 1, do_i2c, "I2C sub-system", - "speed [speed] - show or set I2C bus speed\n" #if defined(CONFIG_I2C_MUX) - "i2c bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes\n" + "bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes\ni2c " #endif /* CONFIG_I2C_MUX */ + "crc32 chip address[.0, .1, .2] count - compute CRC32 checksum\n" #if defined(CONFIG_I2C_MULTI_BUS) "i2c dev [dev] - show or set current I2C bus\n" #endif /* CONFIG_I2C_MULTI_BUS */ + "i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device\n" "i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device\n" "i2c mm chip address[.0, .1, .2] - write to I2C device (auto-incrementing)\n" "i2c mw chip address[.0, .1, .2] value [count] - write to I2C device (fill)\n" "i2c nm chip address[.0, .1, .2] - write to I2C device (constant address)\n" - "i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum\n" "i2c probe - show devices on the I2C bus\n" "i2c reset - re-init the I2C Controller\n" - "i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device" #if defined(CONFIG_CMD_SDRAM) - "\n" - "i2c sdram chip - print SDRAM configuration information" + "i2c sdram chip - print SDRAM configuration information\n" #endif + "i2c speed [speed] - show or set I2C bus speed" ); #if defined(CONFIG_I2C_MUX) |