diff options
author | Janne Grunau <j@jannau.net> | 2022-02-19 16:05:19 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-28 18:33:45 +0300 |
commit | 6fb4f7387e17664e2e6cea1217fe9e95cc0a1170 (patch) | |
tree | 4816e6bc7b7599ef716bbb7a09556244e7535974 /configs/apple_m1_defconfig | |
parent | 551f426011e31fad37fe66108ffdf05eb48e3176 (diff) | |
download | u-boot-6fb4f7387e17664e2e6cea1217fe9e95cc0a1170.tar.xz |
arm: apple: Switch to fully dynamic mem layout
Support for Apple M1 Pro and Max will allow using a single binary for
all M1 SoCs. The M1 Pro/Max have a different memory layout. The RAM
start address is 0x100_0000_0000 instead of 0x8_0000_0000.
Replace the hardcoded memory layout with dynamic initialized
environment variables in board_late_init().
Tested on Mac Mini (2020) and Macbook Pro 14-inch (2021).
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'configs/apple_m1_defconfig')
-rw-r--r-- | configs/apple_m1_defconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig index 9254e24699..360ec3f5e0 100644 --- a/configs/apple_m1_defconfig +++ b/configs/apple_m1_defconfig @@ -3,10 +3,11 @@ CONFIG_ARCH_APPLE=y CONFIG_DEFAULT_DEVICE_TREE="t8103-j274" CONFIG_DEBUG_UART_BASE=0x235200000 CONFIG_DEBUG_UART_CLOCK=24000000 -CONFIG_SYS_LOAD_ADDR=0x880000000 +CONFIG_SYS_LOAD_ADDR=0x0 CONFIG_USE_PREBOOT=y # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y +CONFIG_BOARD_LATE_INIT=y # CONFIG_NET is not set CONFIG_APPLE_SPI_KEYB=y # CONFIG_MMC is not set |