]> git.sur5r.net Git - u-boot/blobdiff - board/mini-box/picosam9g45/picosam9g45.c
mtd: nand: Rename nand.h into rawnand.h
[u-boot] / board / mini-box / picosam9g45 / picosam9g45.c
index 09ec24766333293bac0ea6f7c54414ee8f099b2a..dd2db9a762687e35878f788e6fc4f098dcfac58b 100644 (file)
@@ -20,7 +20,7 @@
 #include <asm/arch/gpio.h>
 #include <asm/arch/clk.h>
 #include <lcd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <atmel_lcdc.h>
 #include <atmel_mci.h>
 #if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_MACB)
@@ -261,9 +261,6 @@ int board_init(void)
 #ifdef CONFIG_CMD_USB
        picosam9g45_usb_hw_init();
 #endif
-#ifdef CONFIG_HAS_DATAFLASH
-       at91_spi0_hw_init(1 << 0);
-#endif
 #ifdef CONFIG_ATMEL_SPI
        at91_spi0_hw_init(1 << 4);
 #endif