summaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-16 07:03:50 -0700
committerBin Meng <bmeng.cn@gmail.com>2017-02-06 11:38:46 +0800
commit4acff4524783d860d873e131057602e43b8294f9 (patch)
tree7bca13eee65666129d1a4bb3247cc45690e5eb1b /common/board_r.c
parent530f27eab5df8bcebfb7cb20a342f97e297ec0e8 (diff)
downloadu-boot-imx-4acff4524783d860d873e131057602e43b8294f9.zip
u-boot-imx-4acff4524783d860d873e131057602e43b8294f9.tar.gz
u-boot-imx-4acff4524783d860d873e131057602e43b8294f9.tar.bz2
board_f/r: Use static const for the init sequences
These tables should be declared static const. Unfortunately the table in board_r is updated on machines with manual relocation. Update them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 48fa4ee..f739c8a 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -737,7 +737,7 @@ static int run_main_loop(void)
*
* TODO: perhaps reset the watchdog in the initcall function after each call?
*/
-init_fnc_t init_sequence_r[] = {
+static init_fnc_t init_sequence_r[] = {
initr_trace,
initr_reloc,
/* TODO: could x86/PPC have this also perhaps? */