]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: th1520_lpi4a: Add UART clock frequency
authorYao Zi <ziyao@disroot.org>
Tue, 13 May 2025 09:04:55 +0000 (09:04 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 21 May 2025 08:49:52 +0000 (16:49 +0800)
The BROM of TH1520 always initializes UART0's parent clock and
configures the baudrate to 115200. Describe the clock frequency to make
UART function correctly in SPL without introducing CCF.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
include/configs/th1520_lpi4a.h

index 87496a52c4ce76b1543a78ae9d685ac644a6613b..7a9b70a3678d5bda8389cf492550ee01f21598b0 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <linux/sizes.h>
 
+#define CFG_SYS_NS16550_CLK            100000000
 #define CFG_SYS_SDRAM_BASE             0x00000000
 
 #define UART_BASE      0xffe7014000