apple: Fix debug uart clock rate
PATCH 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 Hz.
Signed-off-by Mark Kettenis <[email protected]>
--- configs/apple_m1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/apple_m1_defconfig +1 -1
@@ -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
Quoted 2 lines · Mark Kettenis
The clock rate for the serial console on Apple M1 systems is 24 MHz instead of 240 Hz.
nit: kHz?
Quoted 20 lines
Signed-off-by Mark Kettenis <[email protected]>--- configs/apple_m1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configs/apple_m1_defconfig +1
-1@@ -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
Quoted 8 lines
From: Sean Anderson <[email protected]>
Date: Sat, 5 Feb 2022 23:04:07 -0500Quoted 2 lines · Mark Kettenis
The clock rate for the serial console on Apple M1 systems is 24 MHz instead of 240 Hz.
nit: kHz?
Ah yes. Brain slightly misfired when writing that commit message. Thanks! I've sent a v2 with that fixed. And also fixed Simon's email address on the CC.
Quoted 21 lines
Quoted 19 lines
Signed-off-by Mark Kettenis <[email protected]>--- configs/apple_m1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configs/apple_m1_defconfig +1
-1@@ -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