[PATCH v2 3/9] arm: apple: Change SoC name from "m1" into "apple"

Mark Kettenis kettenis at openbsd.org
Sat Jan 22 20:38:13 CET 2022


U-Boot is expected to support multiple generations of Apple SoCs
in a single binary with a single defconfig. Therefore it makes
more sense to set SYS_SOC to "apple".

Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
---
 arch/arm/include/asm/{arch-m1 => arch-apple}/uart.h | 0
 arch/arm/mach-apple/Kconfig                         | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename arch/arm/include/asm/{arch-m1 => arch-apple}/uart.h (100%)

diff --git a/arch/arm/include/asm/arch-m1/uart.h b/arch/arm/include/asm/arch-apple/uart.h
similarity index 100%
rename from arch/arm/include/asm/arch-m1/uart.h
rename to arch/arm/include/asm/arch-apple/uart.h
diff --git a/arch/arm/mach-apple/Kconfig b/arch/arm/mach-apple/Kconfig
index 80e8eb2307..75ee21e0f4 100644
--- a/arch/arm/mach-apple/Kconfig
+++ b/arch/arm/mach-apple/Kconfig
@@ -7,7 +7,7 @@ config SYS_CONFIG_NAME
 	default "apple"
 
 config SYS_SOC
-	default "m1"
+	default "apple"
 
 config SYS_MALLOC_LEN
 	default 0x4000000
-- 
2.34.1



More information about the U-Boot mailing list