mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
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" Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
This commit is contained in:
parent
a93c92cdda
commit
224c90d106
1 changed files with 2 additions and 2 deletions
|
@ -453,8 +453,8 @@ cmd_tbl_t cmd_bootm_sub[] = {
|
||||||
#ifdef CONFIG_OF_LIBFDT
|
#ifdef CONFIG_OF_LIBFDT
|
||||||
U_BOOT_CMD_MKENT(fdt, 0, 1, (void *)BOOTM_STATE_FDT, "", ""),
|
U_BOOT_CMD_MKENT(fdt, 0, 1, (void *)BOOTM_STATE_FDT, "", ""),
|
||||||
#endif
|
#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(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(prep, 0, 1, (void *)BOOTM_STATE_OS_PREP, "", ""),
|
||||||
U_BOOT_CMD_MKENT(go, 0, 1, (void *)BOOTM_STATE_OS_GO, "", ""),
|
U_BOOT_CMD_MKENT(go, 0, 1, (void *)BOOTM_STATE_OS_GO, "", ""),
|
||||||
};
|
};
|
||||||
|
@ -1000,8 +1000,8 @@ U_BOOT_CMD(
|
||||||
#if defined(CONFIG_OF_LIBFDT)
|
#if defined(CONFIG_OF_LIBFDT)
|
||||||
"\tfdt - relocate flat device tree\n"
|
"\tfdt - relocate flat device tree\n"
|
||||||
#endif
|
#endif
|
||||||
"\tbdt - OS specific bd_t processing\n"
|
|
||||||
"\tcmdline - OS specific command line processing/setup\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"
|
"\tprep - OS specific prep before relocation or go\n"
|
||||||
"\tgo - start OS"
|
"\tgo - start OS"
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue