[PATCH] engicam: Drop unnecessary BOARD_EARLY_INIT_F usage

Tom Rini trini at konsulko.com
Wed Mar 25 20:00:29 CET 2026


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 <trini at konsulko.com>
---
Cc: Jagan Teki <jagan at amarulasolutions.com>
Cc: Matteo Lisi <matteo.lisi at engicam.com>
---
 board/engicam/imx8mm/spl.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/board/engicam/imx8mm/spl.c b/board/engicam/imx8mm/spl.c
index 5a6bcb1747a0..702f0caafaba 100644
--- a/board/engicam/imx8mm/spl.c
+++ b/board/engicam/imx8mm/spl.c
@@ -52,11 +52,6 @@ int board_fit_config_name_match(const char *name)
 }
 #endif
 
-int board_early_init_f(void)
-{
-       return 0;
-}
-
 void board_init_f(ulong dummy)
 {
 	int ret;
@@ -65,8 +60,6 @@ void board_init_f(ulong dummy)
 
 	init_uart_clk(1);
 
-	board_early_init_f();
-
 	timer_init();
 
 	/* Clear the BSS. */
-- 
2.43.0



More information about the U-Boot mailing list