diff options
Diffstat (limited to 'recipes/u-boot/u-boot-git/0002-cmd_bootm.c-made-subcommand-array-static.patch')
-rw-r--r-- | recipes/u-boot/u-boot-git/0002-cmd_bootm.c-made-subcommand-array-static.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/u-boot/u-boot-git/0002-cmd_bootm.c-made-subcommand-array-static.patch b/recipes/u-boot/u-boot-git/0002-cmd_bootm.c-made-subcommand-array-static.patch new file mode 100644 index 0000000000..9bf471e347 --- /dev/null +++ b/recipes/u-boot/u-boot-git/0002-cmd_bootm.c-made-subcommand-array-static.patch @@ -0,0 +1,26 @@ +From bdf849874fdb53e9b58adedec3bb54e19d06792c Mon Sep 17 00:00:00 2001 +From: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> +Date: Wed, 24 Feb 2010 10:28:34 +0100 +Subject: [PATCH 2/5] cmd_bootm.c: made subcommand array static + +Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> +--- + common/cmd_bootm.c | 2 +- + 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) +-- +1.7.0 + |