]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: Kconfig: provide a top-level switch for Microchip platforms
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Thu, 26 Feb 2026 14:36:15 +0000 (15:36 +0100)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Wed, 18 Mar 2026 08:55:49 +0000 (10:55 +0200)
Microchip is the only platform that doesn't have a top-level switch for
disabling all SoC families. Align it with other platforms and update the
arm64 defconfig to keep the default config the same.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260226143615.65788-1-bartosz.golaszewski@oss.qualcomm.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm64/Kconfig.platforms
arch/arm64/configs/defconfig

index 54eb1d7fd419b4249a6860357da8b3dce2e2146d..72c812e76b0b115b2d59c199df5fc56060cb9da7 100644 (file)
@@ -188,16 +188,15 @@ config ARCH_MESON
          This enables support for the arm64 based Amlogic SoCs
          such as the s905, S905X/D, S912, A113X/D or S905X/D2
 
-menu "Microchip SoC support"
+menuconfig ARCH_MICROCHIP
+       bool "Microchip SoC support"
 
-config ARCH_MICROCHIP
-       bool
+if ARCH_MICROCHIP
 
 config ARCH_LAN969X
        bool "Microchip LAN969X SoC family"
        select PINCTRL
        select DW_APB_TIMER_OF
-       select ARCH_MICROCHIP
        help
          This enables support for the Microchip LAN969X ARMv8-based
          SoC family of TSN-capable gigabit switches.
@@ -212,7 +211,6 @@ config ARCH_SPARX5
        bool "Microchip Sparx5 SoC family"
        select PINCTRL
        select DW_APB_TIMER_OF
-       select ARCH_MICROCHIP
        help
          This enables support for the Microchip Sparx5 ARMv8-based
          SoC family of TSN-capable gigabit switches.
@@ -223,7 +221,7 @@ config ARCH_SPARX5
          security through TCAM-based frame processing using versatile
          content aware processor (VCAP).
 
-endmenu
+endif
 
 config ARCH_MMP
        bool "Marvell MMP SoC Family"
index b67d5b1fc45b03aab531bc1313a54103acd43b7a..9829be6904570a46d641abc295ad96690c0a7ed3 100644 (file)
@@ -57,6 +57,7 @@ CONFIG_ARCH_HISI=y
 CONFIG_ARCH_KEEMBAY=y
 CONFIG_ARCH_MEDIATEK=y
 CONFIG_ARCH_MESON=y
+CONFIG_ARCH_MICROCHIP=y
 CONFIG_ARCH_MVEBU=y
 CONFIG_ARCH_NXP=y
 CONFIG_ARCH_LAYERSCAPE=y