summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-02-25 10:12:13 +0100
committerWolfgang Denk <wd@denx.de>2010-03-21 22:44:43 +0100
commitf74d9bd2a248efa229f0f3478fe331e2a319588c (patch)
treefc27d65eaa4e1e8f249b179917facf2d1b4d6b5b /common/cmd_bootm.c
parentfaffe14f016db10f33836b018c4b304d939cf586 (diff)
downloadu-boot-imx-f74d9bd2a248efa229f0f3478fe331e2a319588c.zip
u-boot-imx-f74d9bd2a248efa229f0f3478fe331e2a319588c.tar.gz
u-boot-imx-f74d9bd2a248efa229f0f3478fe331e2a319588c.tar.bz2
cmd_bootm.c: made subcommand array static
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 23ab0c4..827d542 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -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
* 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(loados, 0, 1, (void *)BOOTM_STATE_LOADOS, "", ""),
#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC)