imx93_frdm: Drop unnecessary BOARD_EARLY_INIT_F usage
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.
Signed-off-by Tom Rini <[email protected]>
---
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
@@ -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
@@ -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
@@ -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