summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-25 13:00:34 -0600
committerFabio Estevam <[email protected]>2026-04-02 09:08:44 -0300
commit79f8f60cc6676c95a85c136a228306637caa4edc (patch)
treed6276306b3aa8139bf465f144f3bb04729a32fa2
parent94c660cfd3356224e2a31d6319707ccf489863a1 (diff)
osm-s-mx93: 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]> Reviewed-by: Frieder Schrempf <[email protected]>
-rw-r--r--board/kontron/osm-s-mx93/osm-s-mx93.c5
-rw-r--r--board/kontron/osm-s-mx93/spl.c2
2 files changed, 0 insertions, 7 deletions
diff --git a/board/kontron/osm-s-mx93/osm-s-mx93.c b/board/kontron/osm-s-mx93/osm-s-mx93.c
index b6feef549d1..02bee34ac66 100644
--- a/board/kontron/osm-s-mx93/osm-s-mx93.c
+++ b/board/kontron/osm-s-mx93/osm-s-mx93.c
@@ -22,11 +22,6 @@
#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[] = {
{
diff --git a/board/kontron/osm-s-mx93/spl.c b/board/kontron/osm-s-mx93/spl.c
index 23a90e351fe..a47fc43c6aa 100644
--- a/board/kontron/osm-s-mx93/spl.c
+++ b/board/kontron/osm-s-mx93/spl.c
@@ -132,8 +132,6 @@ void board_init_f(ulong dummy)
arch_cpu_init();
- board_early_init_f();
-
spl_early_init();
preloader_console_init();