mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 10:01:32 +00:00
cmd_bootm.c: made subcommand array static
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
This commit is contained in:
parent
faffe14f01
commit
f74d9bd2a2
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ static int bootm_start_standalone(ulong iflag, int argc, char *argv[])
|
||||||
|
|
||||||
/* we overload the cmd field with our state machine info instead of a
|
/* we overload the cmd field with our state machine info instead of a
|
||||||
* function pointer */
|
* function pointer */
|
||||||
cmd_tbl_t cmd_bootm_sub[] = {
|
static cmd_tbl_t cmd_bootm_sub[] = {
|
||||||
U_BOOT_CMD_MKENT(start, 0, 1, (void *)BOOTM_STATE_START, "", ""),
|
U_BOOT_CMD_MKENT(start, 0, 1, (void *)BOOTM_STATE_START, "", ""),
|
||||||
U_BOOT_CMD_MKENT(loados, 0, 1, (void *)BOOTM_STATE_LOADOS, "", ""),
|
U_BOOT_CMD_MKENT(loados, 0, 1, (void *)BOOTM_STATE_LOADOS, "", ""),
|
||||||
#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC)
|
#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC)
|
||||||
|
|
Loading…
Add table
Reference in a new issue