mx6sxsabreauto: Drop unnecessary BOARD_EARLY_INIT_F usage
Subsystems (3)
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.
Signed-off-by Tom Rini <[email protected]>
---
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
@@ -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
@@ -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
Quoted 5 lines · Tom Rini
This platform enables
CONFIG_BOARD_EARLY_INIT_Fand then has a do-nothingboard_early_init_ffunction. Change to not enabling the option and so not needing an empty function.Signed-off-by Tom Rini <[email protected]>
Reviewed-by Peng Fan <[email protected]>