[PATCH] arm64: Kconfig: provide a top-level switch for Microchip platforms
Krzysztof Kozlowski
krzk at kernel.org
Fri Feb 27 01:19:25 PST 2026
On 27/02/2026 09:42, Bartosz Golaszewski wrote:
> On Thu, Feb 26, 2026 at 3:49 PM Krzysztof Kozlowski <krzk at kernel.org> wrote:
>>
>> 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'm not following, ARCH_SPARX5 remains enabled in defconfig and
> ARCH_LAN969X was already disabled by default.
That's why I said non-defconfig.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list