From fe39681ea140b32c7c45560567295f4766041219 Mon Sep 17 00:00:00 2001 From: Andy Doan Date: Fri, 18 Mar 2011 12:44:15 +0530 Subject: [PATCH] build break in lib/board.c Commit 85c0898d4e removed the variable i. This is needed for certain board configurations. I hit it using overo_config. Signed-off-by: Andy Doan Signed-off-by: Anand Gadiyar --- lib/board.c | 3 +++ 1 file changed, 3 insertions(+) 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)()) -- 2.39.2