build break in lib/board.c
authorAndy Doan <doanac@gmail.com>
Fri, 18 Mar 2011 07:14:15 +0000 (12:44 +0530)
committerAnand Gadiyar <gadiyar@ti.com>
Fri, 18 Mar 2011 07:14:15 +0000 (12:44 +0530)
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.doan@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
lib/board.c

index e3d1334..d9b6cf7 100644 (file)
@@ -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)())