From 9d2b18a0f9df38cfe15e10766b1302f10d426355 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sat, 28 Jun 2003 23:11:04 +0000 Subject: Rewrite command lookup and help command (fix problems with bubble sort when sorting command name list). Minor cleanup here and there. --- common/cmd_bootm.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'common/cmd_bootm.c') 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 ); -- cgit v1.1