[U-Boot] [PATCH] da8xxevm: Fix warning: unused variable 'val'
Wolfgang Denk
wd at denx.de
Mon Sep 5 17:26:27 CEST 2011
Signed-off-by: Wolfgang Denk <wd at denx.de>
Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
Cc: Sandeep Paulraj <s-paulraj at ti.com>
Cc: Sudhakar Rajashekhara <sudhakar.raj at ti.com>
---
board/davinci/da8xxevm/da850evm.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c
index 2f950e7..46924d3 100644
--- a/board/davinci/da8xxevm/da850evm.c
+++ b/board/davinci/da8xxevm/da850evm.c
@@ -280,12 +280,14 @@ u32 get_board_rev(void)
int board_init(void)
{
+#ifdef CONFIG_USE_NOR
u32 val;
+#endif
+
#ifndef CONFIG_USE_IRQ
irq_init();
#endif
-
#ifdef CONFIG_NAND_DAVINCI
/*
* NAND CS setup - cycle counts based on da850evm NAND timings in the
--
1.7.6
More information about the U-Boot
mailing list