summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-11-15 12:56:38 +0300
committerSimon Horman <horms+renesas@verge.net.au>2018-11-16 18:27:19 +0300
commitaf3a03cded07f4d6637e5b3660b6622cf60af338 (patch)
treef724e03e136b84dd866f4b3cb1dd487c3e8ef452 /arch/arm/mach-shmobile
parent9374eee32b666c92cf821a98eb3aeaa0bf4d5dd5 (diff)
downloadlinux-af3a03cded07f4d6637e5b3660b6622cf60af338.tar.xz
ARM: shmobile: Restrict SCU support to SoCs that have it
Currently support for the ARM Cortex-A9 Snoop Control Unit is included unconditionally, while only Renesas multicore Cortex-A9 SoCs have this kind of SCU. This decreases kernel image size by ca. 300 bytes on SoCs without such an SCU. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index b100c26a858f..32f8297d993a 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -30,7 +30,6 @@ menuconfig ARCH_RENESAS
depends on ARCH_MULTI_V7 && MMU
select ARM_GIC
select GPIOLIB
- select HAVE_ARM_SCU if SMP
select HAVE_ARM_TWD if SMP
select NO_IOPORT_MAP
select PINCTRL
@@ -43,6 +42,7 @@ if ARCH_RENESAS
config ARCH_EMEV2
bool "Emma Mobile EV2"
+ select HAVE_ARM_SCU if SMP
select SYS_SUPPORTS_EM_STI
config ARCH_R7S72100
@@ -94,6 +94,7 @@ config ARCH_R8A7778
config ARCH_R8A7779
bool "R-Car H1 (R8A77790)"
+ select HAVE_ARM_SCU if SMP
select ARCH_RCAR_GEN1
config ARCH_R8A7790
@@ -135,5 +136,6 @@ config ARCH_RZN1
config ARCH_SH73A0
bool "SH-Mobile AG5 (R8A73A00)"
select ARCH_RMOBILE
+ select HAVE_ARM_SCU if SMP
select RENESAS_INTC_IRQPIN
endif