OSDN Git Service

arm64: Kconfig.platforms: Group NXP platforms together
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 29 Aug 2022 17:38:29 +0000 (10:38 -0700)
committerArnd Bergmann <arnd@arndb.de>
Fri, 2 Sep 2022 10:50:58 +0000 (12:50 +0200)
Group the three NXP platforms under an ARCH_NXP menuconfig symbol to
make make selection of similar vendor SoCs visually nicer.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220829173830.3567047-3-f.fainelli@gmail.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/Kconfig.platforms

index 748f9ac..61d946e 100644 (file)
@@ -143,12 +143,6 @@ config ARCH_K3
          This enables support for Texas Instruments' K3 multicore SoC
          architecture.
 
-config ARCH_LAYERSCAPE
-       bool "ARMv8 based Freescale Layerscape SoC family"
-       select EDAC_SUPPORT
-       help
-         This enables support for the Freescale Layerscape SoC family.
-
 config ARCH_LG1K
        bool "LG Electronics LG1K SoC Family"
        help
@@ -207,6 +201,17 @@ config ARCH_MVEBU
           - Armada 8K SoC Family
           - 98DX2530 SoC Family
 
+menuconfig ARCH_NXP
+       bool "NXP SoC support"
+
+if ARCH_NXP
+
+config ARCH_LAYERSCAPE
+       bool "ARMv8 based Freescale Layerscape SoC family"
+       select EDAC_SUPPORT
+       help
+         This enables support for the Freescale Layerscape SoC family.
+
 config ARCH_MXC
        bool "ARMv8 based NXP i.MX SoC family"
        select ARM64_ERRATUM_843419
@@ -221,6 +226,13 @@ config ARCH_MXC
          This enables support for the ARMv8 based SoCs in the
          NXP i.MX family.
 
+config ARCH_S32
+       bool "NXP S32 SoC Family"
+       help
+         This enables support for the NXP S32 family of processors.
+
+endif
+
 config ARCH_NPCM
        bool "Nuvoton NPCM Architecture"
        select PINCTRL
@@ -264,11 +276,6 @@ config ARCH_ROCKCHIP
          This enables support for the ARMv8 based Rockchip chipsets,
          like the RK3368.
 
-config ARCH_S32
-       bool "NXP S32 SoC Family"
-       help
-         This enables support for the NXP S32 family of processors.
-
 config ARCH_SEATTLE
        bool "AMD Seattle SoC Family"
        help