summaryrefslogtreecommitdiff
path: root/cpu/arm926ejs/at91/at91sam9260_devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm926ejs/at91/at91sam9260_devices.c')
-rw-r--r--cpu/arm926ejs/at91/at91sam9260_devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm926ejs/at91/at91sam9260_devices.c b/cpu/arm926ejs/at91/at91sam9260_devices.c
index 5309ba282..f86cb99da 100644
--- a/cpu/arm926ejs/at91/at91sam9260_devices.c
+++ b/cpu/arm926ejs/at91/at91sam9260_devices.c
@@ -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 */