summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-25 13:00:33 -0600
committerTom Rini <[email protected]>2026-04-07 15:26:53 -0600
commit6201fd7c1ffa134f8ba229b434e6f14a3fd5bb14 (patch)
tree667acc0d817dc0c4f24038acc75c05d23fdc9407
parentb9650a8e330bb2fdb83af28646f3777e9fb503bf (diff)
hikey960: 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]>
-rw-r--r--board/hisilicon/hikey960/hikey960.c5
-rw-r--r--configs/hikey960_defconfig1
2 files changed, 0 insertions, 6 deletions
diff --git a/board/hisilicon/hikey960/hikey960.c b/board/hisilicon/hikey960/hikey960.c
index 5029f4edb2a..fb56762fff6 100644
--- a/board/hisilicon/hikey960/hikey960.c
+++ b/board/hisilicon/hikey960/hikey960.c
@@ -60,11 +60,6 @@ static struct mm_region hikey_mem_map[] = {
struct mm_region *mem_map = hikey_mem_map;
-int board_early_init_f(void)
-{
- return 0;
-}
-
int misc_init_r(void)
{
return 0;
diff --git a/configs/hikey960_defconfig b/configs/hikey960_defconfig
index 440f257072d..1cf1ef12bb5 100644
--- a/configs/hikey960_defconfig
+++ b/configs/hikey960_defconfig
@@ -19,7 +19,6 @@ CONFIG_SYS_CBSIZE=256
CONFIG_SYS_PBSIZE=283
# CONFIG_DISPLAY_CPUINFO is not set
# CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_BOARD_EARLY_INIT_F=y
CONFIG_MISC_INIT_R=y
CONFIG_SYS_PROMPT="U-Boot => "
CONFIG_CMD_MD5SUM=y