[RFC 3/3] imx8: imx8mm_beacon: Remove manual UART clock initialization

Adam Ford aford173 at gmail.com
Sat Apr 30 18:14:22 CEST 2022


SPL has a manual call to init_uart_clk in order to start the
clocks.  If the CCF has the UART clocks available, the
serial driver can enable and query the clock when needed, so
the manual call to init_uart_clk can be dropped.

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c
index f92b4c3ed0..fc0935bc97 100644
--- a/board/beacon/imx8mm/spl.c
+++ b/board/beacon/imx8mm/spl.c
@@ -114,8 +114,6 @@ void board_init_f(ulong dummy)
 
 	arch_cpu_init();
 
-	init_uart_clk(1);
-
 	board_early_init_f();
 
 	timer_init();
-- 
2.34.1



More information about the U-Boot mailing list