From: Andy Doan Date: Fri, 18 Mar 2011 07:14:15 +0000 (+0530) Subject: build break in lib/board.c X-Git-Tag: v1.5.0~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe39681ea140b32c7c45560567295f4766041219;p=pandora-x-loader.git 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 --- 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)())