summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/lib/board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c
index 508075fa88..3a1b3756e1 100644
--- a/arch/powerpc/lib/board.c
+++ b/arch/powerpc/lib/board.c
@@ -625,7 +625,9 @@ void board_init_r (gd_t *id, ulong dest_addr)
{
bd_t *bd;
ulong malloc_start;
-
+#if defined(CONFIG_SYS_FLASH_CHECKSUM) || defined(CONFIG_CMD_NET)
+ char *s;
+#endif
#ifndef CONFIG_SYS_NO_FLASH
ulong flash_size;
#endif
OpenPOWER on IntegriCloud