Commit 85c0898d4e removed the variable i. This is needed
for certain board configurations. I hit it using overo_config.
Signed-off-by: Andy Doan <
andy...@linaro.org>
---
lib/board.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/board.c b/lib/board.c
index e3d1334..d9b6cf7 100644
--- a/lib/board.c
+++ b/lib/board.c
@@ -82,6 +82,9 @@ void start_armboot (void)
int size;
uchar *buf;
int *first_instruction;
+#if defined(CFG_ONENAND) || defined(CFG_NAND_K9F1G08R0A)
+ int i;
+#endif
for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr)
if ((*init_fnc_ptr)())
--
1.7.4.1