diff options
author | wdenk <wdenk> | 2003-06-28 23:11:04 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-28 23:11:04 +0000 |
commit | 9d2b18a0f9df38cfe15e10766b1302f10d426355 (patch) | |
tree | e7230d603e7dda19f3ef962b974aa8ba7d4a75fe /common/cmd_bootm.c | |
parent | d1cbe85b084ce543ba0b09def03a1b20940e6c03 (diff) | |
download | u-boot-imx-9d2b18a0f9df38cfe15e10766b1302f10d426355.zip u-boot-imx-9d2b18a0f9df38cfe15e10766b1302f10d426355.tar.gz u-boot-imx-9d2b18a0f9df38cfe15e10766b1302f10d426355.tar.bz2 |
Rewrite command lookup and help command (fix problems with bubble
sort when sorting command name list). Minor cleanup here and there.
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r-- | common/cmd_bootm.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 7ade068..1327e34 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -873,7 +873,14 @@ int do_bootd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } cmd_tbl_t U_BOOT_CMD(BOOTD) = MK_CMD_ENTRY( - "bootd", 1, 1, do_bootd, + "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, "bootd - boot default, i.e., run 'bootcmd'\n", NULL ); |