public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] mx6sxsabreauto: Drop unnecessary BOARD_EARLY_INIT_F usage
@ 2026-03-25 19:00 Tom Rini
  2026-03-26  7:38 ` Peng Fan
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2026-03-25 19:00 UTC (permalink / raw)
  To: u-boot; +Cc: Stefano Babic, Fabio Estevam, Peng Fan

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>
---
Cc: Stefano Babic <sbabic@nabladev.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
---
 arch/arm/mach-imx/mx6/Kconfig             | 1 -
 board/nxp/mx6sxsabreauto/mx6sxsabreauto.c | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig
index 552537895fcf..d198d9932f45 100644
--- a/arch/arm/mach-imx/mx6/Kconfig
+++ b/arch/arm/mach-imx/mx6/Kconfig
@@ -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
diff --git a/board/nxp/mx6sxsabreauto/mx6sxsabreauto.c b/board/nxp/mx6sxsabreauto/mx6sxsabreauto.c
index d80cfd4ab27c..ac91da3f4f63 100644
--- a/board/nxp/mx6sxsabreauto/mx6sxsabreauto.c
+++ b/board/nxp/mx6sxsabreauto/mx6sxsabreauto.c
@@ -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)
 {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mx6sxsabreauto: Drop unnecessary BOARD_EARLY_INIT_F usage
  2026-03-25 19:00 [PATCH] mx6sxsabreauto: Drop unnecessary BOARD_EARLY_INIT_F usage Tom Rini
@ 2026-03-26  7:38 ` Peng Fan
  0 siblings, 0 replies; 2+ messages in thread
From: Peng Fan @ 2026-03-26  7:38 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot, Stefano Babic, Fabio Estevam, Peng Fan

On Wed, Mar 25, 2026 at 01:00:41PM -0600, Tom Rini wrote:
>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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-26  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25 19:00 [PATCH] mx6sxsabreauto: Drop unnecessary BOARD_EARLY_INIT_F usage Tom Rini
2026-03-26  7:38 ` Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox