summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/Kconfig.non_dt
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-03-13 15:18:31 +0100
committerArnd Bergmann <arnd@arndb.de>2014-03-21 18:19:27 +0100
commitfe138c236bf7e146a9bbf3c465258a5d6beaf9fc (patch)
treea6d8f3a54e218591fb78b583290187276709d7f6 /arch/arm/mach-at91/Kconfig.non_dt
parent6d0abeca3242a88cab8232e4acd7e2bf088f3bc2 (diff)
downloadop-kernel-dev-fe138c236bf7e146a9bbf3c465258a5d6beaf9fc.zip
op-kernel-dev-fe138c236bf7e146a9bbf3c465258a5d6beaf9fc.tar.gz
ARM: at91: split out at91x40 into a top-level option
at91x40 is different from all the other at91 machines, and it is impossible to build a kernel that works on both this SoC and any of the others, even though it is possible to build a noMMU kernel for any at91 machine. By turning at91x40 into a separate top-level option, we explicitly forbid enabling invalid configurations that include mutually exclusive machines. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Andrew Victor <linux@maxim.org.za> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91/Kconfig.non_dt')
-rw-r--r--arch/arm/mach-at91/Kconfig.non_dt8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/Kconfig.non_dt b/arch/arm/mach-at91/Kconfig.non_dt
index 1f73e9b..44ace32 100644
--- a/arch/arm/mach-at91/Kconfig.non_dt
+++ b/arch/arm/mach-at91/Kconfig.non_dt
@@ -5,6 +5,7 @@ config HAVE_AT91_DATAFLASH_CARD
choice
prompt "Atmel AT91 Processor Devices for non DT boards"
+ depends on !ARCH_AT91X40
config ARCH_AT91_NONE
bool "None"
@@ -39,13 +40,6 @@ config ARCH_AT91SAM9G45
select SOC_AT91SAM9G45
select AT91_USE_OLD_CLK
-config ARCH_AT91X40
- bool "AT91x40"
- depends on !MMU
- select ARCH_USES_GETTIMEOFFSET
- select MULTI_IRQ_HANDLER
- select SPARSE_IRQ
-
endchoice
config ARCH_AT91SAM9G20
OpenPOWER on IntegriCloud