mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-02 15:33:55 +01:00
arch/powerpc/lib/board.c: fix build warning
Commit 1272592 "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: Wolfgang Denk <wd@denx.de>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
24769c151e
commit
a9f4fc3fe5
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue