diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-19 09:49:23 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-12-02 19:03:08 -0500 |
commit | 6c044fecdf78be3fda159a5036bb33700cdd5e59 (patch) | |
tree | 2deb4c9b7b5dce5eac121798f5e72794232ea64e /arch/arm/Kconfig | |
parent | be95485a0b8288a93402705730d3ea32f9f812b9 (diff) |
ARM: 8458/1: bL_switcher: add GIC dependency
It is not possible to build the bL_switcher code if the GIC
driver is disabled, because it relies on calling into some
gic specific interfaces, and that would result in this build
error:
arch/arm/common/built-in.o: In function `bL_switch_to':
:(.text+0x1230): undefined reference to `gic_get_sgir_physaddr'
:(.text+0x1244): undefined reference to `gic_send_sgi'
:(.text+0x1268): undefined reference to `gic_migrate_target'
arch/arm/common/built-in.o: In function `bL_switcher_enable.part.4':
:(.text.unlikely+0x2f8): undefined reference to `gic_get_cpu_id'
This adds a Kconfig dependency to ensure we only build the big-little
switcher if the GIC driver is present as well.
Almost all ARMv7 platforms come with a GIC anyway, but it is possible
to build a kernel that disables all platforms.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0365cbbc9179..4c44c768a45d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1420,7 +1420,7 @@ config BIG_LITTLE | |||
1420 | 1420 | ||
1421 | config BL_SWITCHER | 1421 | config BL_SWITCHER |
1422 | bool "big.LITTLE switcher support" | 1422 | bool "big.LITTLE switcher support" |
1423 | depends on BIG_LITTLE && MCPM && HOTPLUG_CPU | 1423 | depends on BIG_LITTLE && MCPM && HOTPLUG_CPU && ARM_GIC |
1424 | select ARM_CPU_SUSPEND | 1424 | select ARM_CPU_SUSPEND |
1425 | select CPU_PM | 1425 | select CPU_PM |
1426 | help | 1426 | help |