]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soc: apple: Drop default ARCH_APPLE in Kconfig
authorSven Peter <sven@kernel.org>
Thu, 12 Jun 2025 21:11:26 +0000 (21:11 +0000)
committerSven Peter <sven@kernel.org>
Sun, 10 Aug 2025 18:28:36 +0000 (20:28 +0200)
When the first driver for Apple Silicon was upstreamed we accidentally
included `default ARCH_APPLE` in its Kconfig which then spread to almost
every subsequent driver. As soon as ARCH_APPLE is set to y this will
pull in many drivers as built-ins which is not what we want.
Thus, drop `default ARCH_APPLE` from Kconfig.

Reviewed-by: Janne Grunau <j@jannau.net>
Link: https://lore.kernel.org/r/20250612-apple-kconfig-defconfig-v1-2-0e6f9cb512c1@kernel.org
Signed-off-by: Sven Peter <sven@kernel.org>
drivers/soc/apple/Kconfig

index 6388cbe1e56b5a9d90acad3ee2377ed6ac0d207d..ad67368892311bed5a94d358288390a6fb8b3b4a 100644 (file)
@@ -8,7 +8,6 @@ config APPLE_MAILBOX
        tristate "Apple SoC mailboxes"
        depends on PM
        depends on ARCH_APPLE || (64BIT && COMPILE_TEST)
-       default ARCH_APPLE
        help
          Apple SoCs have various co-processors required for certain
          peripherals to work (NVMe, display controller, etc.). This
@@ -21,7 +20,6 @@ config APPLE_RTKIT
        tristate "Apple RTKit co-processor IPC protocol"
        depends on APPLE_MAILBOX
        depends on ARCH_APPLE || COMPILE_TEST
-       default ARCH_APPLE
        help
          Apple SoCs such as the M1 come with various co-processors running
          their proprietary RTKit operating system. This option enables support
@@ -33,7 +31,6 @@ config APPLE_RTKIT
 config APPLE_SART
        tristate "Apple SART DMA address filter"
        depends on ARCH_APPLE || COMPILE_TEST
-       default ARCH_APPLE
        help
          Apple SART is a simple DMA address filter used on Apple SoCs such
          as the M1. It is usually required for the NVMe coprocessor which does