diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-10-10 21:59:42 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-16 09:42:51 -0400 |
commit | c68c03f52badc90951dbf8a054c0e500e04bf365 (patch) | |
tree | 30fee12332240549a47bdb2cf2ee27a1a7d64b02 /arch | |
parent | 95688de311e238ccfba21c50b1b67ceffbdc7fc5 (diff) | |
download | u-boot-c68c03f52badc90951dbf8a054c0e500e04bf365.tar.gz |
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')
5 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c b/arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c index 912a966bae..bb3e36552a 100644 --- a/arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c +++ b/arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c @@ -58,7 +58,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 */ 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 */ diff --git a/arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c b/arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c index f3f480010a..674eb66e8e 100644 --- a/arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c +++ b/arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c @@ -59,7 +59,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_b_periph(AT91_PIO_PORTA, 0, PUP); /* SPI0_MISO */ diff --git a/arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c b/arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c index eddfdb0853..b9efa273a0 100644 --- a/arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c +++ b/arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c @@ -56,7 +56,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_PORTB, 0, PUP); /* SPI0_MISO */ diff --git a/arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c b/arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c index dbf9386faa..cd38c6597a 100644 --- a/arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/arm926ejs/at91sam9rl_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, 25, PUP); /* SPI0_MISO */ |