summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-10-10 21:59:42 +0300
committerTom Rini <trini@konsulko.com>2017-10-16 09:42:51 -0400
commitc68c03f52badc90951dbf8a054c0e500e04bf365 (patch)
tree30fee12332240549a47bdb2cf2ee27a1a7d64b02 /arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c
parent95688de311e238ccfba21c50b1b67ceffbdc7fc5 (diff)
Drop CONFIG_HAS_DATAFLASH
Last user of this option went away in commit: fdc7718999 ("board: usb_a9263: Update to support DT and DM") Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Diffstat (limited to 'arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c')
-rw-r--r--arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c b/arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c
index 4bd4e75e0b..58050a2a24 100644
--- a/arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c
+++ b/arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c
@@ -55,7 +55,7 @@ void at91_seriald_hw_init(void)
at91_periph_clk_enable(ATMEL_ID_SYS);
}
-#if defined(CONFIG_HAS_DATAFLASH) || defined(CONFIG_ATMEL_SPI)
+#ifdef CONFIG_ATMEL_SPI
void at91_spi0_hw_init(unsigned long cs_mask)
{
at91_set_a_periph(AT91_PIO_PORTA, 0, PUP); /* SPI0_MISO */