]> git.sur5r.net Git - u-boot/blobdiff - board/davinci/da8xxevm/da850evm.c
powerpc/p2041rdb: add more ddr frequencies support
[u-boot] / 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