]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/arm926ejs/at91/at91sam9260_devices.c
Add support for the Calao SBC35-A9G20 board
[karo-tx-uboot.git] / cpu / arm926ejs / at91 / at91sam9260_devices.c
index 5309ba282a5272135581942047af15a3bfad19f7..f86cb99da65e4d927099a9dcac152038a840a1b9 100644 (file)
@@ -75,7 +75,7 @@ void at91_serial_hw_init(void)
 #endif
 }
 
-#ifdef CONFIG_HAS_DATAFLASH
+#if defined(CONFIG_HAS_DATAFLASH) || defined(CONFIG_ATMEL_SPI)
 void at91_spi0_hw_init(unsigned long cs_mask)
 {
        at91_set_A_periph(AT91_PIN_PA0, 0);     /* SPI0_MISO */