]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
da8xxevm: Fix warning: unused variable 'val'
authorWolfgang Denk <wd@denx.de>
Mon, 5 Sep 2011 05:26:27 +0000 (05:26 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 7 Sep 2011 20:02:07 +0000 (22:02 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
board/davinci/da8xxevm/da850evm.c

index 2f950e7bdf686b62cfada003babf9a43d5dd6c47..46924d349b886a63bfb964ac6784a116f5d314c3 100644 (file)
@@ -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