Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

soc: apple: Drop default ARCH_APPLE in Kconfig

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>

Sven Peter ec437f9b 8f5ae30d

-3
-3
drivers/soc/apple/Kconfig
··· 8 8 tristate "Apple SoC mailboxes" 9 9 depends on PM 10 10 depends on ARCH_APPLE || (64BIT && COMPILE_TEST) 11 - default ARCH_APPLE 12 11 help 13 12 Apple SoCs have various co-processors required for certain 14 13 peripherals to work (NVMe, display controller, etc.). This ··· 20 21 tristate "Apple RTKit co-processor IPC protocol" 21 22 depends on APPLE_MAILBOX 22 23 depends on ARCH_APPLE || COMPILE_TEST 23 - default ARCH_APPLE 24 24 help 25 25 Apple SoCs such as the M1 come with various co-processors running 26 26 their proprietary RTKit operating system. This option enables support ··· 31 33 config APPLE_SART 32 34 tristate "Apple SART DMA address filter" 33 35 depends on ARCH_APPLE || COMPILE_TEST 34 - default ARCH_APPLE 35 36 help 36 37 Apple SART is a simple DMA address filter used on Apple SoCs such 37 38 as the M1. It is usually required for the NVMe coprocessor which does