[PATCH 04/18] arm64: Kconfig: Introduce CONFIG_ARCH_APPLE

From: Hector Martin
Date: Thu Feb 04 2021 - 15:42:14 EST


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@xxxxxxxxx>
---
arch/arm64/Kconfig.platforms | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 6eecdef538bd..e3e3bd2c4374 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -29,6 +29,13 @@ config ARCH_ALPINE
This enables support for the Annapurna Labs Alpine
Soc family.

+config ARCH_APPLE
+ bool "Apple Silicon SoC family"
+ select GENERIC_IRQ_CHIP
+ 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
--
2.30.0