Browse Source

da8xxevm: Fix warning: unused variable 'val'

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>
Wolfgang Denk 13 năm trước cách đây
mục cha
commit
6f0d7ae265
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      board/davinci/da8xxevm/da850evm.c

+ 3 - 1
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