From 6f0d7ae26564a9beb429bb72b2ccf65e73816835 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Mon, 5 Sep 2011 05:26:27 +0000 Subject: [PATCH] da8xxevm: Fix warning: unused variable 'val' Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Sandeep Paulraj Cc: Sudhakar Rajashekhara --- board/davinci/da8xxevm/da850evm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index 2f950e7bdf..46924d349b 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 -- 2.39.5