projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faffe14
)
cmd_bootm.c: made subcommand array static
author
Frans Meulenbroeks
<fransmeulenbroeks@gmail.com>
Thu, 25 Feb 2010 09:12:13 +0000
(10:12 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 21 Mar 2010 21:44:43 +0000
(22:44 +0100)
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
common/cmd_bootm.c
patch
|
blob
|
history
diff --git
a/common/cmd_bootm.c
b/common/cmd_bootm.c
index 23ab0c4aaea692e2934c4ce6e65889f9ee266c7e..827d542f96750ecfa20e894211df3bd3f3de4015 100644
(file)
--- 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)