]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
osm-s-mx93: Drop unnecessary BOARD_EARLY_INIT_F usage
authorTom Rini <trini@konsulko.com>
Wed, 25 Mar 2026 19:00:34 +0000 (13:00 -0600)
committerFabio Estevam <festevam@nabladev.com>
Thu, 2 Apr 2026 12:08:44 +0000 (09:08 -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: Frieder Schrempf <frieder.schrempf@kontron.de>
board/kontron/osm-s-mx93/osm-s-mx93.c
board/kontron/osm-s-mx93/spl.c

index b6feef549d163905a9a30120cefa4be4a2c05ef1..02bee34ac66345fcebe40dbab5af4dd1d60fff29 100644 (file)
 
 #include "../common/hw-uid.h"
 
-int board_early_init_f(void)
-{
-       return 0;
-}
-
 #if IS_ENABLED(CONFIG_KONTRON_HW_UID)
 struct uid_otp_loc uid_otp_locations[] = {
        {
index 23a90e351fe9914fb3a1bf3a97099c367a7f76a5..a47fc43c6aa9d4ed2a7827d8164b23ec53a7d468 100644 (file)
@@ -132,8 +132,6 @@ void board_init_f(ulong dummy)
 
        arch_cpu_init();
 
-       board_early_init_f();
-
        spl_early_init();
 
        preloader_console_init();