[PATCH] arm64: Kconfig: provide a top-level switch for Microchip platforms
Krzysztof Kozlowski
krzk at kernel.org
Thu Feb 26 06:49:06 PST 2026
On 26/02/2026 15:36, Bartosz Golaszewski wrote:
> 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 at oss.qualcomm.com>
> ---
> arch/arm64/Kconfig.platforms | 10 ++++------
> arch/arm64/configs/defconfig | 1 +
> 2 files changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 54eb1d7fd419b..72c812e76b0b1 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -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
This will surprise all out-of-tree non-defconfig users, because their
boards will stop working (drivers depend on ARCH_LAN969X|ARCH_SPARX5
which will be now disabled), but I like the consistency.
I guess this will go via Microchip arm64 soc tree.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list