Skip to contentSkip to conversation

engicam: 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 engicam: 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: Jagan Teki <[email protected]>
Cc: Matteo Lisi <[email protected]>

---
 board/engicam/imx8mm/spl.c | 7 -------
 1 file changed, 7 deletions(-)
board/engicam/imx8mm/spl.c +0 -7
index 5a6bcb1747a0..702f0caafaba 100644
@@ -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. */
Signature · 1 line
2.43.0