diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-11-15 10:56:39 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-11-16 16:27:19 +0100 |
commit | 94cf946b8c19f90c39a0f01f0e2fe2ff32383b35 (patch) | |
tree | afce3113da4ce93b4b8592ba61c00baf2fc1ec7b /arch/arm/mach-shmobile | |
parent | ARM: shmobile: Restrict SCU support to SoCs that have it (diff) | |
download | linux-94cf946b8c19f90c39a0f01f0e2fe2ff32383b35.tar.xz linux-94cf946b8c19f90c39a0f01f0e2fe2ff32383b35.zip |
ARM: shmobile: Restrict TWD support to SoCs that have it
Currently support for the ARM Timer and Watchdog Unit is included
unconditionally, while only some Renesas multicore Cortex-A9 SoCs have
a TWD.
This decreases kernel image size by ca. 2 KiB on SoCs without a TWD.
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/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 32f8297d993a..a35eb5913dfd 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_TWD if SMP select NO_IOPORT_MAP select PINCTRL select SOC_BUS @@ -95,6 +94,7 @@ config ARCH_R8A7778 config ARCH_R8A7779 bool "R-Car H1 (R8A77790)" select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP select ARCH_RCAR_GEN1 config ARCH_R8A7790 @@ -137,5 +137,6 @@ config ARCH_SH73A0 bool "SH-Mobile AG5 (R8A73A00)" select ARCH_RMOBILE select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP select RENESAS_INTC_IRQPIN endif |