Skip to content
Snippets Groups Projects
Commit a9f4fc3f authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

arch/powerpc/lib/board.c: fix build warning


Commit 1272592e "powerpc: Use getenv_ulong() in place of getenv(),
strtoul" instroduced a build warning for some PPC systems:

board.c: In function 'board_init_r':
board.c:626: warning: unused variable 's'

Fix it.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
parent 24769c15
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment