summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2021-01-20 16:51:23 +0900
committerHector Martin <marcan@marcan.st>2021-04-08 20:18:41 +0900
commitaea5f69f2e9181054fbcec56870be4143814c69b (patch)
tree2c20eab6ea5f5d6273e99fc035acc029eb9cd9b6
parent76cde26394114f6af2710c6b2ad6854f1e8ee859 (diff)
downloadlinux-stable-aea5f69f2e9181054fbcec56870be4143814c69b.tar.gz
linux-stable-aea5f69f2e9181054fbcec56870be4143814c69b.tar.bz2
linux-stable-aea5f69f2e9181054fbcec56870be4143814c69b.zip
arm64: Kconfig: Introduce CONFIG_ARCH_APPLE
This adds a Kconfig option to toggle support for Apple ARM SoCs. At this time this targets the M1 and later "Apple Silicon" Mac SoCs. Signed-off-by: Hector Martin <marcan@marcan.st>
-rw-r--r--arch/arm64/Kconfig.platforms7
-rw-r--r--arch/arm64/configs/defconfig1
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index cdfd5fed457f..df320a13915a 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -36,6 +36,13 @@ config ARCH_ALPINE
This enables support for the Annapurna Labs Alpine
Soc family.
+config ARCH_APPLE
+ bool "Apple Silicon SoC family"
+ select APPLE_AIC
+ help
+ This enables support for Apple's in-house ARM SoC family, starting
+ with the Apple M1.
+
config ARCH_BCM2835
bool "Broadcom BCM2835 family"
select TIMER_OF
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index d612f633b771..54fb257e55f7 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -31,6 +31,7 @@ CONFIG_ARCH_ACTIONS=y
CONFIG_ARCH_AGILEX=y
CONFIG_ARCH_SUNXI=y
CONFIG_ARCH_ALPINE=y
+CONFIG_ARCH_APPLE=y
CONFIG_ARCH_BCM2835=y
CONFIG_ARCH_BCM4908=y
CONFIG_ARCH_BCM_IPROC=y