diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-03 09:38:58 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-06-24 10:15:19 -0400 |
commit | 24e860fbfdb1c3f97d17d3578a146f3b42b9ad83 (patch) | |
tree | 57bbf13306afe75369359c26306614d344e765dc /arch/arm/Kconfig | |
parent | 0626494d5f67c36d2df2ad7553b1db2c3e558e64 (diff) |
ARM: multiplatform: always pick one CPU type
With the new default platform code, we can always boot using DT
without requiring a board file, but we cannot build a kernel
unless we select at least one CPU core, which breaks some
"randconfig" builds.
This adapts the ARCH_MULTI_V4T and ARCH_MULTI_V5 options so we
always default to a common CPU core if no platform was enabled
that picks something else. The default we pick for ARMv4T is
ARM920T, while for ARMv5 we pick ARM926T.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index db5aa5f2d1de..ffbaaa5405c5 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -870,20 +870,21 @@ menu "Multiple platform selection" | |||
870 | 870 | ||
871 | comment "CPU Core family selection" | 871 | comment "CPU Core family selection" |
872 | 872 | ||
873 | config ARCH_MULTI_V4 | ||
874 | bool "ARMv4 based platforms (FA526, StrongARM)" | ||
875 | depends on !ARCH_MULTI_V6_V7 | ||
876 | select ARCH_MULTI_V4_V5 | ||
877 | |||
878 | config ARCH_MULTI_V4T | 873 | config ARCH_MULTI_V4T |
879 | bool "ARMv4T based platforms (ARM720T, ARM920T, ...)" | 874 | bool "ARMv4T based platforms (ARM720T, ARM920T, ...)" |
880 | depends on !ARCH_MULTI_V6_V7 | 875 | depends on !ARCH_MULTI_V6_V7 |
881 | select ARCH_MULTI_V4_V5 | 876 | select ARCH_MULTI_V4_V5 |
877 | select CPU_ARM920T if !(CPU_ARM7TDMI || CPU_ARM720T || \ | ||
878 | CPU_ARM740T || CPU_ARM9TDMI || CPU_ARM922T || \ | ||
879 | CPU_ARM925T || CPU_ARM940T) | ||
882 | 880 | ||
883 | config ARCH_MULTI_V5 | 881 | config ARCH_MULTI_V5 |
884 | bool "ARMv5 based platforms (ARM926T, XSCALE, PJ1, ...)" | 882 | bool "ARMv5 based platforms (ARM926T, XSCALE, PJ1, ...)" |
885 | depends on !ARCH_MULTI_V6_V7 | 883 | depends on !ARCH_MULTI_V6_V7 |
886 | select ARCH_MULTI_V4_V5 | 884 | select ARCH_MULTI_V4_V5 |
885 | select CPU_ARM926T if (!CPU_ARM946E || CPU_ARM1020 || \ | ||
886 | CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || \ | ||
887 | CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_FEROCEON) | ||
887 | 888 | ||
888 | config ARCH_MULTI_V4_V5 | 889 | config ARCH_MULTI_V4_V5 |
889 | bool | 890 | bool |