OSDN Git Service

ARM: realview: Drop unneeded select of multi-platform features
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 21 Jan 2020 10:37:20 +0000 (11:37 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Apr 2020 11:01:43 +0000 (13:01 +0200)
Support for ARM Ltd. RealView systems depends on ARCH_MULTIPLATFORM,
which selects USE_OF.
Support for ARMv6 and ARMv7 variants depends on ARCH_MULTI_V6 or
ARCH_MULTI_V7, which both select ARCH_MULTI_V6_V7 and thus
MIGHT_HAVE_CACHE_L2X0.
Support for ARMv7 variants depends on ARCH_MULTI_V7, which selects
HAVE_SMP.
Hence there is no need for the affected RealView-specific symbols to
select any of them.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-realview/Kconfig

index 44ebbf9..0f139a2 100644 (file)
@@ -21,7 +21,6 @@ menuconfig ARCH_REALVIEW
        select POWER_RESET_VERSATILE
        select POWER_SUPPLY
        select SOC_REALVIEW
-       select USE_OF
        help
          This enables support for ARM Ltd RealView boards.
 
@@ -56,8 +55,6 @@ config REALVIEW_EB_ARM1176
 config REALVIEW_EB_A9MP
        bool "Support Multicore Cortex-A9 Tile"
        depends on MACH_REALVIEW_EB && ARCH_MULTI_V7
-       select HAVE_SMP
-       select MIGHT_HAVE_CACHE_L2X0
        help
          Enable support for the Cortex-A9MPCore tile fitted to the
          Realview(R) Emulation Baseboard platform.
@@ -66,7 +63,6 @@ config REALVIEW_EB_ARM11MP
        bool "Support ARM11MPCore Tile"
        depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
        select HAVE_SMP
-       select MIGHT_HAVE_CACHE_L2X0
        help
          Enable support for the ARM11MPCore tile fitted to the Realview(R)
          Emulation Baseboard platform.
@@ -75,7 +71,6 @@ config MACH_REALVIEW_PB11MP
        bool "Support RealView(R) Platform Baseboard for ARM11MPCore"
        depends on ARCH_MULTI_V6
        select HAVE_SMP
-       select MIGHT_HAVE_CACHE_L2X0
        help
          Include support for the ARM(R) RealView(R) Platform Baseboard for
          the ARM11MPCore.  This platform has an on-board ARM11MPCore and has
@@ -87,7 +82,6 @@ config MACH_REALVIEW_PB1176
        depends on ARCH_MULTI_V6
        select CPU_V6
        select HAVE_TCM
-       select MIGHT_HAVE_CACHE_L2X0
        help
          Include support for the ARM(R) RealView(R) Platform Baseboard for
          ARM1176JZF-S.
@@ -103,8 +97,6 @@ config MACH_REALVIEW_PBA8
 config MACH_REALVIEW_PBX
        bool "Support RealView(R) Platform Baseboard Explore for Cortex-A9"
        depends on ARCH_MULTI_V7
-       select HAVE_SMP
-       select MIGHT_HAVE_CACHE_L2X0
        select ZONE_DMA
        help
          Include support for the ARM(R) RealView(R) Platform Baseboard