Merge branch 'master' of git://git.denx.de/u-boot-samsung
[platform/kernel/u-boot.git] / board / siemens / common / board.c
index c127f6c..b967227 100644 (file)
@@ -28,6 +28,7 @@
 #include <miiphy.h>
 #include <cpsw.h>
 #include <watchdog.h>
+#include <asm/mach-types.h>
 #include "../common/factoryset.h"
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -83,8 +84,12 @@ int board_init(void)
 #ifdef CONFIG_FACTORYSET
        factoryset_read_eeprom(CONFIG_SYS_I2C_EEPROM_ADDR);
 #endif
+
        gpmc_init();
 
+#ifdef CONFIG_NAND_CS_INIT
+       board_nand_cs_init();
+#endif
 #ifdef CONFIG_VIDEO
        board_video_init();
 #endif