Skip to contentSkip to conversation

apple: Fix debug uart clock rate

PATCH In review Mark Kettenis 2 participants 2 messages Feb 6, 2022 – Feb 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 apple: Fix debug uart clock rate

The clock rate for the serial console on Apple M1 systems is 24 MHz instead of 240 kHz.

---

ChangeLog:

v2: - Fix typo in comment

 configs/apple_m1_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/apple_m1_defconfig +1 -1
index cb235e4e7d..71ffbc6ec4 100644
@@ -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
Signature · 1 line
2.34.1
#1 lore raw
Quoted 4 lines · Mark Kettenis

The clock rate for the serial console on Apple M1 systems is 24 MHz instead of 240 kHz.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom