Skip to contentSkip to conversation

mx6sxsabreauto: Drop unnecessary BOARD_EARLY_INIT_F usage

PATCH In review Tom Rini 2 participants 2 messages Mar 25 – Mar 26

Subsystems (3)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 mx6sxsabreauto: 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: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>

---
 arch/arm/mach-imx/mx6/Kconfig             | 1 -
 board/nxp/mx6sxsabreauto/mx6sxsabreauto.c | 5 -----
 2 files changed, 6 deletions(-)
arch/arm/mach-imx/mx6/Kconfig +0 -1
index 552537895fcf..d198d9932f45 100644
@@ -419,7 +419,6 @@ config TARGET_MX6SXSABRESD
 config TARGET_MX6SXSABREAUTO
 	bool "mx6sxsabreauto"
 	depends on MX6SX
-	select BOARD_EARLY_INIT_F
 	select BOARD_LATE_INIT
 	select DM
 	select DM_THERMAL
board/nxp/mx6sxsabreauto/mx6sxsabreauto.c +0 -5
index d80cfd4ab27c..ac91da3f4f63 100644
@@ -199,11 +199,6 @@ int board_ehci_hcd_init(int port)
 }
 #endif
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 #ifdef CONFIG_FSL_QSPI
 int board_qspi_init(void)
 {
Signature · 1 line
2.43.0