]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
apple: Fix debug uart clock rate
authorMark Kettenis <kettenis@openbsd.org>
Sun, 6 Feb 2022 12:21:14 +0000 (13:21 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 10 Feb 2022 21:44:23 +0000 (16:44 -0500)
The clock rate for the serial console on Apple M1 systems is 24 MHz
instead of 240 kHz.

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

index 433cc62334017fee1cbe24d44e81f96db9915ad5..8583e4ad8c7f8723c7da3a4f7eda7f6ebffc9542 100644 (file)
@@ -2,7 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_APPLE=y
 CONFIG_DEFAULT_DEVICE_TREE="t8103-j274"
 CONFIG_DEBUG_UART_BASE=0x235200000
-CONFIG_DEBUG_UART_CLOCK=240000
+CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART=y
 CONFIG_SYS_LOAD_ADDR=0x880000000
 CONFIG_USE_PREBOOT=y