]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: mvebu: Drop unnecessary BOARD_EARLY_INIT_F usage
authorTom Rini <trini@konsulko.com>
Wed, 25 Mar 2026 19:00:22 +0000 (13:00 -0600)
committerStefan Roese <stefan.roese@mailbox.org>
Wed, 10 Jun 2026 09:23:26 +0000 (11:23 +0200)
All of these platforms enable CONFIG_BOARD_EARLY_INIT_F and then have 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: Robert Marko <robert.marko@sartura.hr>
board/Marvell/mvebu_armada-37xx/board.c
configs/eDPU_defconfig
configs/mvebu_db-88f3720_defconfig
configs/mvebu_espressobin-88f3720_defconfig
configs/mvebu_espressobin_ultra-88f3720_defconfig
configs/uDPU_defconfig

index e44b713f96d7d648ee21df79addebb497c69b1b3..c30fca6cffd89431aa92cb61b21f365108776ab5 100644 (file)
@@ -102,11 +102,6 @@ static bool is_edpu_plus(void)
                return false;
 }
 
-int board_early_init_f(void)
-{
-       return 0;
-}
-
 int board_init(void)
 {
        /* adress of boot parameters */
index 9bc08cd05e9dab78398f236643a536d3bd268e66..e227dba5a4214e7daa3f9925c6829989a10f2d82 100644 (file)
@@ -23,7 +23,6 @@ CONFIG_SYS_PBSIZE=1048
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="eDPU>> "
 CONFIG_SYS_MAXARGS=32
 # CONFIG_CMD_ELF is not set
index 14862e4d60c2c05b9ba2efa1fad1adbc8be5a82b..ff0f412b6d0963cbd66656c6b203017691bcc0c3 100644 (file)
@@ -22,7 +22,6 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_MAXARGS=32
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
index c6574ebe8d9414f1216b92ae9b828d84454ec643..9f5eda244ac61361a61d2e06424c533fb1f53781 100644 (file)
@@ -24,7 +24,6 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_SYS_MAXARGS=32
 CONFIG_CMD_FUSE=y
index b37d2b5907e97951f494cf22a7f988536b67722e..16e0e54f657d74b9662f93c6459595b2fd089c2c 100644 (file)
@@ -23,7 +23,6 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_SYS_MAXARGS=32
 CONFIG_CMD_FUSE=y
index 93f7e709ce68999552835d60a46e076686f9d69d..7c83ff17b9c09ecb3f0689e67091503e29fbfe2f 100644 (file)
@@ -22,7 +22,6 @@ CONFIG_SYS_PBSIZE=1048
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="uDPU>> "
 CONFIG_SYS_MAXARGS=32
 # CONFIG_CMD_ELF is not set