summaryrefslogtreecommitdiff
path: root/lib_ppc/board.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-02-23 16:52:36 +0100
committerWolfgang Denk <wd@denx.de>2009-03-20 22:39:14 +0100
commitff7dc067369e30066744f096995aef7d97574d15 (patch)
treed449da556e2c6560be49d1643dec388d4ec7da7b /lib_ppc/board.c
parent9cd690160d3ce1a7fb4ceeee6c99cedb1ac1d49c (diff)
downloadu-boot-imx-ff7dc067369e30066744f096995aef7d97574d15.zip
u-boot-imx-ff7dc067369e30066744f096995aef7d97574d15.tar.gz
u-boot-imx-ff7dc067369e30066744f096995aef7d97574d15.tar.bz2
powerpc: Fix compilation warning in board.c
Fix this warning: board.c: In function 'board_init_r': board.c:653: warning: unused variable 'i' board.c:651: warning: unused variable 'e' Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib_ppc/board.c')
-rw-r--r--lib_ppc/board.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index a63f4b3..c925a58 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -645,9 +645,8 @@ void board_init_f (ulong bootflag)
void board_init_r (gd_t *id, ulong dest_addr)
{
cmd_tbl_t *cmdtp;
- char *s, *e;
+ char *s;
bd_t *bd;
- int i;
extern void malloc_bin_reloc (void);
#ifndef CONFIG_ENV_IS_NOWHERE
extern char * env_name_spec;