arm: apple: Disable debug UART
authorMark Kettenis <kettenis@openbsd.org>
Mon, 14 Feb 2022 21:09:25 +0000 (22:09 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 21 Feb 2022 13:35:40 +0000 (08:35 -0500)
The address of the debug UART varies differs between the M1 and
the M1 Pro/Max SoCs.  So we have to disable it to make a single
U-Boot binary that works on all SoC generations.  Leave the
settings for the base address and clock rate of the M1 in place
to make it easier to re-enable the debug UART when needed.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
configs/apple_m1_defconfig

index 760bd81..9254e24 100644 (file)
@@ -3,7 +3,6 @@ CONFIG_ARCH_APPLE=y
 CONFIG_DEFAULT_DEVICE_TREE="t8103-j274"
 CONFIG_DEBUG_UART_BASE=0x235200000
 CONFIG_DEBUG_UART_CLOCK=24000000
-CONFIG_DEBUG_UART=y
 CONFIG_SYS_LOAD_ADDR=0x880000000
 CONFIG_USE_PREBOOT=y
 # CONFIG_DISPLAY_CPUINFO is not set