From: Yao Zi Date: Tue, 13 May 2025 09:04:55 +0000 (+0000) Subject: configs: th1520_lpi4a: Add UART clock frequency X-Git-Tag: v2025.07-rc3~9^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=acf9384d8cc372fc71a5857363cfe10c240c497a;p=thirdparty%2Fu-boot.git configs: th1520_lpi4a: Add UART clock frequency 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 Reviewed-by: Leo Yu-Chi Liang --- diff --git a/include/configs/th1520_lpi4a.h b/include/configs/th1520_lpi4a.h index 87496a52c4c..7a9b70a3678 100644 --- a/include/configs/th1520_lpi4a.h +++ b/include/configs/th1520_lpi4a.h @@ -9,6 +9,7 @@ #include +#define CFG_SYS_NS16550_CLK 100000000 #define CFG_SYS_SDRAM_BASE 0x00000000 #define UART_BASE 0xffe7014000