]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mx6sxsabreauto: Drop unnecessary BOARD_EARLY_INIT_F usage
authorTom Rini <trini@konsulko.com>
Wed, 25 Mar 2026 19:00:41 +0000 (13:00 -0600)
committerFabio Estevam <festevam@nabladev.com>
Thu, 2 Apr 2026 12:09:51 +0000 (09:09 -0300)
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@konsulko.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/mx6/Kconfig
board/nxp/mx6sxsabreauto/mx6sxsabreauto.c

index f64bebfc14baaac70ca663544e99c4269cc63fff..1eda90ad9b7cca099cbd2742f54f978951bf402c 100644 (file)
@@ -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
index d80cfd4ab27c4fec2502545dba8764d71c740f39..ac91da3f4f6366f91ae6b0eec01f8e613019dfa5 100644 (file)
@@ -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)
 {