summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-17 10:29:27 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-18 11:24:51 +0100
commit6f142500387365a3b8a4331c2540b7aa2a9bf9b6 (patch)
tree7b56bd42ee833334221a6eefa89f6eef6156cf42
parent59dd999968970125b6a0706caadbdfaf94b27a98 (diff)
downloadbarebox-6f142500387365a3b8a4331c2540b7aa2a9bf9b6.tar.gz
ARM Ka-Ro TX25: fix compilation with external NAND boot enabled
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/boards/karo-tx25/lowlevel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/boards/karo-tx25/lowlevel.c b/arch/arm/boards/karo-tx25/lowlevel.c
index d0afad2..6f17958 100644
--- a/arch/arm/boards/karo-tx25/lowlevel.c
+++ b/arch/arm/boards/karo-tx25/lowlevel.c
@@ -31,8 +31,6 @@
#ifdef CONFIG_NAND_IMX_BOOT
static void __bare_init __naked insdram(void)
{
- uint32_t r;
-
/* setup a stack to be able to call imx_nand_load_image() */
arm_setup_stack(STACK_BASE + STACK_SIZE - 12);
@@ -71,6 +69,7 @@ void __bare_init __naked reset(void)
uint32_t r;
#ifdef CONFIG_NAND_IMX_BOOT
unsigned int *trg, *src;
+ int i;
#endif
common_reset();