]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
nxp: imx94_evk: Drop init_uart_clk
authorPeng Fan <peng.fan@nxp.com>
Fri, 6 Feb 2026 15:28:44 +0000 (23:28 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 6 Feb 2026 23:32:10 +0000 (20:32 -0300)
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 <peng.fan@nxp.com>
board/nxp/imx94_evk/imx94_evk.c
board/nxp/imx94_evk/spl.c
configs/imx943_evk_defconfig

index 588aa7548d4edc1ecc38362cbd1c6b42b50fb270..2aeb21c1de7b6345edf604430d697c0e985a49b0 100644 (file)
@@ -9,12 +9,6 @@
 #include <asm/arch/clock.h>
 #include <asm/mach-imx/sys_proto.h>
 
-int board_early_init_f(void)
-{
-       init_uart_clk(0);
-       return 0;
-}
-
 int board_init(void)
 {
        return 0;
index 797806a8d4d52756d119eb8424d413ff9ee22477..cc5b7f9ef0f06f84b99a7ce550ddad7610c6bc9a 100644 (file)
@@ -69,8 +69,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);
index 0371dbe28a9e46f4efcae94f18847b62e26d5f97..ef4f9a8fcbc8101ef3eaf578f835b21b7fe6889a 100644 (file)
@@ -37,7 +37,6 @@ CONFIG_BOOTCOMMAND="bootflow scan -l; run bsp_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="imx943-evk.dtb"
 CONFIG_SYS_CBSIZE=2048
 CONFIG_SYS_PBSIZE=2074
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_PCI_INIT_R=y
 CONFIG_SPL_MAX_SIZE=0x30000