summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.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_bootm.c
parentb37c7e5e5c3c80c68f49a31c4308b159bb5bda1a (diff)
Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index aad04cff76a..39c23484e8d 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -381,8 +381,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 1;
}
-cmd_tbl_t U_BOOT_CMD(BOOTM) = MK_CMD_ENTRY(
- "bootm", CFG_MAXARGS, 1, do_bootm,
+U_BOOT_CMD(
+ bootm, CFG_MAXARGS, 1, do_bootm,
"bootm - boot application image from memory\n",
"[addr [arg ...]]\n - boot application image stored in memory\n"
" passing arguments 'arg ...'; when booting a Linux kernel,\n"
@@ -872,15 +872,15 @@ int do_bootd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return rcode;
}
-cmd_tbl_t U_BOOT_CMD(BOOT) = MK_CMD_ENTRY(
- "boot", 1, 1, do_bootd,
+U_BOOT_CMD(
+ boot, 1, 1, do_bootd,
"boot - boot default, i.e., run 'bootcmd'\n",
NULL
);
/* keep old command name "bootd" for backward compatibility */
-cmd_tbl_t U_BOOT_CMD(BOOTD) = MK_CMD_ENTRY(
- "bootd", 1, 1, do_bootd,
+U_BOOT_CMD(
+ bootd, 1, 1, do_bootd,
"bootd - boot default, i.e., run 'bootcmd'\n",
NULL
);
@@ -945,8 +945,9 @@ static int image_info (ulong addr)
printf ("OK\n");
return 0;
}
-cmd_tbl_t U_BOOT_CMD(IMINFO) = MK_CMD_ENTRY(
- "iminfo", CFG_MAXARGS, 1, do_iminfo,
+
+U_BOOT_CMD(
+ iminfo, CFG_MAXARGS, 1, do_iminfo,
"iminfo - print header information for application image\n",
"addr [addr ...]\n"
" - print header information for application image starting at\n"