aboutsummaryrefslogtreecommitdiffstats
path: root/common/cmd_doc.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_doc.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_doc.c')
-rw-r--r--common/cmd_doc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_doc.c b/common/cmd_doc.c
index 17c9d0d5bb..69d1d9fba4 100644
--- a/common/cmd_doc.c
+++ b/common/cmd_doc.c
@@ -170,8 +170,8 @@ int do_doc (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return rcode;
}
}
-cmd_tbl_t U_BOOT_CMD(DOC) = MK_CMD_ENTRY(
- "doc", 5, 1, do_doc,
+U_BOOT_CMD(
+ doc, 5, 1, do_doc,
"doc - Disk-On-Chip sub-system\n",
"info - show available DOC devices\n"
"doc device [dev] - show or set current device\n"
@@ -284,8 +284,8 @@ int do_docboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return rcode;
}
-cmd_tbl_t U_BOOT_CMD(DOCBOOT) = MK_CMD_ENTRY(
- "docboot", 4, 1, do_docboot,
+U_BOOT_CMD(
+ docboot, 4, 1, do_docboot,
"docboot - boot from DOC device\n",
"loadAddr dev\n"
);