diff options
| author | Peng Fan <[email protected]> | 2026-02-06 23:28:45 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-02-06 20:32:10 -0300 |
| commit | 650b381d27bd03cd0eef3e552092e50c51aa26ba (patch) | |
| tree | 7205e98b760959d03471d69f5ee66d2dfbb87325 | |
| parent | 7412a1dbaf0c59b635c55dc301d8e1e4903597de (diff) | |
toradex: smarc-imx95: Drop init_uart_clk
Rely on serial driver calling clk_enable to enable the lpuart clk, no
need to do init_uart_clk in board_early_init_f().
Also remove board_early_init_f(), because it is empty now.
Signed-off-by: Peng Fan <[email protected]>
Acked-by: Francesco Dolcini <[email protected]>
| -rw-r--r-- | board/toradex/smarc-imx95/smarc-imx95.c | 8 | ||||
| -rw-r--r-- | board/toradex/smarc-imx95/spl.c | 2 | ||||
| -rw-r--r-- | configs/toradex-smarc-imx95_defconfig | 1 |
3 files changed, 0 insertions, 11 deletions
diff --git a/board/toradex/smarc-imx95/smarc-imx95.c b/board/toradex/smarc-imx95/smarc-imx95.c index c2cf872d9f9..6040c49975a 100644 --- a/board/toradex/smarc-imx95/smarc-imx95.c +++ b/board/toradex/smarc-imx95/smarc-imx95.c @@ -8,14 +8,6 @@ #include "../common/tdx-cfg-block.h" -int board_early_init_f(void) -{ - /* UART1: A55 */ - init_uart_clk(0); - - return 0; -} - int board_phys_sdram_size(phys_size_t *size) { *size = PHYS_SDRAM_SIZE + PHYS_SDRAM_2_SIZE; diff --git a/board/toradex/smarc-imx95/spl.c b/board/toradex/smarc-imx95/spl.c index e0e39b8bb94..ce8da89410b 100644 --- a/board/toradex/smarc-imx95/spl.c +++ b/board/toradex/smarc-imx95/spl.c @@ -105,8 +105,6 @@ void board_init_f(ulong dummy) arch_cpu_init(); - board_early_init_f(); - preloader_console_init(); debug("SOC: 0x%x\n", gd->arch.soc_rev); diff --git a/configs/toradex-smarc-imx95_defconfig b/configs/toradex-smarc-imx95_defconfig index 5ab420ae519..77b355c12d6 100644 --- a/configs/toradex-smarc-imx95_defconfig +++ b/configs/toradex-smarc-imx95_defconfig @@ -43,7 +43,6 @@ CONFIG_SYS_PBSIZE=2074 CONFIG_LOG=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y -CONFIG_BOARD_EARLY_INIT_F=y # CONFIG_BOARD_INIT is not set CONFIG_SPL_MAX_SIZE=0x30000 CONFIG_SPL_BOARD_INIT=y |
