diff options
author | Adam Ford <aford173@gmail.com> | 2025-03-18 18:38:34 -0500 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2025-03-19 13:17:21 -0300 |
commit | 0e5c4273537b0da1c18497ecfe0b451ec1a99029 (patch) | |
tree | 7b40a7b6b46fe1b0239c6866254c9002dd295a5b | |
parent | dda454e933c636b225eef325f5f2b815ed01ac2e (diff) |
board: beacon: imx8mm: Let clock system enable UART clock
Now that the UART driver can enable the required clocks, remove
the hard-coded clock enable. This requires a small re-order
of a couple functions.
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r-- | board/beacon/imx8mm/spl.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c index 12013aa5a4d..93ee5b7ee0c 100644 --- a/board/beacon/imx8mm/spl.c +++ b/board/beacon/imx8mm/spl.c @@ -100,9 +100,6 @@ void board_init_f(ulong dummy) int ret; arch_cpu_init(); - - init_uart_clk(1); - timer_init(); /* Clear the BSS. */ @@ -114,8 +111,6 @@ void board_init_f(ulong dummy) hang(); } - preloader_console_init(); - ret = uclass_get_device_by_name(UCLASS_CLK, "clock-controller@30380000", &dev); @@ -124,6 +119,7 @@ void board_init_f(ulong dummy) hang(); } + preloader_console_init(); enable_tzc380(); power_init_board(); |