diff options
author | wdenk | 2003-07-01 21:06:45 +0000 |
---|---|---|
committer | wdenk | 2003-07-01 21:06:45 +0000 |
commit | 0d4983930a3559be92452761cfa268ee9d0f2773 (patch) | |
tree | cfb77c1274a959cde007a7ac4e18b4b0d67bd253 /common/cmd_i2c.c | |
parent | b37c7e5e5c3c80c68f49a31c4308b159bb5bda1a (diff) |
Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
Diffstat (limited to 'common/cmd_i2c.c')
-rw-r--r-- | common/cmd_i2c.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 203e803a148..3856f3d1015 100644 --- a/common/cmd_i2c.c +++ b/common/cmd_i2c.c @@ -867,38 +867,38 @@ int do_sdram ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) /***************************************************/ -cmd_tbl_t U_BOOT_CMD(IMD) = MK_CMD_ENTRY( - "imd", 4, 1, do_i2c_md, \ +U_BOOT_CMD( + imd, 4, 1, do_i2c_md, \ "imd - i2c memory display\n", \ "chip address[.0, .1, .2] [# of objects]\n - i2c memory display\n" \ ); -cmd_tbl_t U_BOOT_CMD(IMM) = MK_CMD_ENTRY( - "imm", 3, 1, do_i2c_mm, +U_BOOT_CMD( + imm, 3, 1, do_i2c_mm, "imm - i2c memory modify (auto-incrementing)\n", "chip address[.0, .1, .2]\n" " - memory modify, auto increment address\n" ); -cmd_tbl_t U_BOOT_CMD(INM) = MK_CMD_ENTRY( - "inm", 3, 1, do_i2c_nm, +U_BOOT_CMD( + inm, 3, 1, do_i2c_nm, "inm - memory modify (constant address)\n", "chip address[.0, .1, .2]\n - memory modify, read and keep address\n" ); -cmd_tbl_t U_BOOT_CMD(IMW) = MK_CMD_ENTRY( - "imw", 5, 1, do_i2c_mw, +U_BOOT_CMD( + imw, 5, 1, do_i2c_mw, "imw - memory write (fill)\n", "chip address[.0, .1, .2] value [count]\n - memory write (fill)\n" ); -cmd_tbl_t U_BOOT_CMD(ICRC) = MK_CMD_ENTRY( - "icrc32", 5, 1, do_i2c_crc, +U_BOOT_CMD( + icrc32, 5, 1, do_i2c_crc, "icrc32 - checksum calculation\n", "chip address[.0, .1, .2] count\n - compute CRC32 checksum\n" ); -cmd_tbl_t U_BOOT_CMD(IPROBE) = MK_CMD_ENTRY( - "iprobe", 1, 1, do_i2c_probe, +U_BOOT_CMD( + iprobe, 1, 1, do_i2c_probe, "iprobe - probe to discover valid I2C chip addresses\n", "\n -discover valid I2C chip addresses\n" ); @@ -906,16 +906,16 @@ cmd_tbl_t U_BOOT_CMD(IPROBE) = MK_CMD_ENTRY( /* * Require full name for "iloop" because it is an infinite loop! */ -cmd_tbl_t U_BOOT_CMD(ILOOP) = MK_CMD_ENTRY( - "iloop", 5, 1, do_i2c_loop, +U_BOOT_CMD( + iloop, 5, 1, do_i2c_loop, "iloop - infinite loop on address range\n", "chip address[.0, .1, .2] [# of objects]\n" " - loop, reading a set of addresses\n" ); #if (CONFIG_COMMANDS & CFG_CMD_SDRAM) -cmd_tbl_t U_BOOT_CMD(ISDRAM) = MK_CMD_ENTRY( - "isdram", 2, 1, do_sdram, +U_BOOT_CMD( + isdram, 2, 1, do_sdram, "isdram - print SDRAM configuration information\n", "chip\n - print SDRAM configuration information\n" " (valid chip values 50..57)\n" |