aboutsummaryrefslogtreecommitdiffstats
path: root/common/cmd_ide.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-07-01 21:06:45 +0000
committerwdenk <wdenk>2003-07-01 21:06:45 +0000
commit0d4983930a3559be92452761cfa268ee9d0f2773 (patch)
treecfb77c1274a959cde007a7ac4e18b4b0d67bd253 /common/cmd_ide.c
parentb37c7e5e5c3c80c68f49a31c4308b159bb5bda1a (diff)
downloadu-boot-midas-0d4983930a3559be92452761cfa268ee9d0f2773.tar.gz
u-boot-midas-0d4983930a3559be92452761cfa268ee9d0f2773.tar.bz2
u-boot-midas-0d4983930a3559be92452761cfa268ee9d0f2773.zip
Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
Diffstat (limited to 'common/cmd_ide.c')
-rw-r--r--common/cmd_ide.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index 8ca2b8992d..dacec2a478 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -1810,8 +1810,8 @@ ulong atapi_read (int device, ulong blknr, ulong blkcnt, ulong *buffer)
#endif /* CONFIG_ATAPI */
-cmd_tbl_t U_BOOT_CMD(IDE) = MK_CMD_ENTRY(
- "ide", 5, 1, do_ide,
+U_BOOT_CMD(
+ ide, 5, 1, do_ide,
"ide - IDE sub-system\n",
"reset - reset IDE controller\n"
"ide info - show available IDE devices\n"
@@ -1823,8 +1823,8 @@ cmd_tbl_t U_BOOT_CMD(IDE) = MK_CMD_ENTRY(
" to/from memory address `addr'\n"
);
-cmd_tbl_t U_BOOT_CMD(DISK) = MK_CMD_ENTRY(
- "diskboot", 3, 1, do_diskboot,
+U_BOOT_CMD(
+ diskboot, 3, 1, do_diskboot,
"diskboot- boot from IDE device\n",
"loadAddr dev:part\n"
);