diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-29 17:06:29 +0300 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-02-01 23:44:24 +0300 |
commit | 2f2028615924b953d9b00a06119c14c3dac9247e (patch) | |
tree | 51f04d1adc17024f32888f1aaddb11114d1c6665 /arch/arm/Kconfig | |
parent | 55e70147e789d0ded8c673acea292bb5a09eb974 (diff) | |
download | linux-2f2028615924b953d9b00a06119c14c3dac9247e.tar.xz |
ARM: pxa: always select one of the two CPU types
When all boards are disabled on PXA, we cannot build a kernel
because no CPU gets selected:
arch/arm/include/uapi/asm/swab.h:26:29: error: "__LINUX_ARM_ARCH__" is not defined [-Werror=undef]
This is a bit annoying for compile-testing, so I'm adding a line
that ensures that at all times, at least one of CPU_XSCALE or
CPU_XSC3 is set and we can at least continue building.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4f799e567fc8..8e7f534e950d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -547,6 +547,7 @@ config ARCH_PXA select CLKSRC_PXA select CLKSRC_MMIO select CLKSRC_OF + select CPU_XSCALE if !CPU_XSC3 select GENERIC_CLOCKEVENTS select GPIO_PXA select HAVE_IDE |