bootm: Fix help message's sub-command ordering
PATCH 1/1 bootm: Fix help message's sub-command ordering
The help message for the 'bootm' command listed the 'cmdline' and 'bdt' sub-commands in the wrong order which resulted in the error below when following the 'help' command's instructions:
"Trying to execute a command out of order"
---
Feel free to apply this for the upcoming release or -next. I don't think its a big problem as most users don't currently use the bootm sub-commands.
common/cmd_bootm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
common/cmd_bootm.c +2 -2
@@ -453,8 +453,8 @@ cmd_tbl_t cmd_bootm_sub[] = {#ifdef CONFIG_OF_LIBFDT U_BOOT_CMD_MKENT (fdt,0 ,1 , (void *)BOOTM_STATE_FDT ,"" ,"" ), #endif -U_BOOT_CMD_MKENT (bdt,0 ,1 , (void *)BOOTM_STATE_OS_BD_T ,"" ,"" ),U_BOOT_CMD_MKENT (cmdline,0 ,1 , (void *)BOOTM_STATE_OS_CMDLINE ,"" ,"" ), +U_BOOT_CMD_MKENT (bdt,0 ,1 , (void *)BOOTM_STATE_OS_BD_T ,"" ,"" ),U_BOOT_CMD_MKENT (prep,0 ,1 , (void *)BOOTM_STATE_OS_PREP ,"" ,"" ), U_BOOT_CMD_MKENT(go, 0, 1, (void *)BOOTM_STATE_OS_GO, "", ""), };
@@ -1000,8 +1000,8 @@ U_BOOT_CMD(#if defined(CONFIG_OF_LIBFDT )"\tfdt - relocate flat device tree\n" #endif -"\tbdt - OS specific bd_t processing\n" "\tcmdline - OS specific command line processing/setup\n" +"\tbdt - OS specific bd_t processing\n" "\tprep - OS specific prep before relocation or go\n" "\tgo - start OS" );
Signature · 1 line
1.6.2.1
Wolfgang Denk
AppliedPATCH 1/1 bootm: Fix help message's sub-command ordering
Dear Peter Tyser,
Quoted 6 lines · In message <[email protected]> you wrote:
The help message for the 'bootm' command listed the 'cmdline' and 'bdt' sub-commands in the wrong order which resulted in the error below when following the 'help' command's instructions:
"Trying to execute a command out of order"
Quoted 8 lines
Signed-off-by Peter Tyser <[email protected]>---
Feel free to apply this for the upcoming release or -next. I don't think its a big problem as most users don't currently use the bootm sub-commands.common/cmd_bootm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A girl with a future avoids the man with a past.
-- Evan Esar, "The Humor of Humor"