Skip to contentSkip to conversation

imx93_frdm: Drop unnecessary BOARD_EARLY_INIT_F usage

PATCH New Tom Rini 1 participant 1 message Mar 25 Arm i.MX and Layerscape

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 imx93_frdm: Drop unnecessary BOARD_EARLY_INIT_F usage

This platform enables CONFIG_BOARD_EARLY_INIT_F and then has a do-nothing board_early_init_f function. Change to not enabling the option and so not needing an empty function.

---
Cc: Fabio Estevam <[email protected]>
Cc: Stefano Babic <[email protected]>

---
 board/nxp/imx93_frdm/imx93_frdm.c | 5 -----
 board/nxp/imx93_frdm/spl.c        | 2 --
 configs/imx93_frdm_defconfig      | 1 -
 3 files changed, 8 deletions(-)
board/nxp/imx93_frdm/imx93_frdm.c +0 -5
index fb78a9bd0361..e187de74a724 100644
@@ -90,11 +90,6 @@ static int clear_pd_alert(void)
 	return 0;
 }
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int board_init(void)
 {
 	return 0;
board/nxp/imx93_frdm/spl.c +0 -2
index 006c752d0715..068091ba0e96 100644
@@ -156,8 +156,6 @@ void board_init_f(ulong dummy)
 
 	arch_cpu_init();
 
-	board_early_init_f();
-
 	spl_early_init();
 
 	preloader_console_init();
configs/imx93_frdm_defconfig +0 -1
index c35ebc3b4926..adcf2125c732 100644
@@ -35,7 +35,6 @@ CONFIG_BOOTCOMMAND="bootflow scan -lb; run bsp_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="imx93-11x11-frdm.dtb"
 CONFIG_SYS_CBSIZE=2048
 CONFIG_SYS_PBSIZE=2074
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_SPL_MAX_SIZE=0x26000
 CONFIG_SPL_BOARD_INIT=y
Signature · 1 line
2.43.0