]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
hikey960: Drop unnecessary BOARD_EARLY_INIT_F usage
authorTom Rini <trini@konsulko.com>
Wed, 25 Mar 2026 19:00:33 +0000 (13:00 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 Apr 2026 21:26:53 +0000 (15:26 -0600)
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>
board/hisilicon/hikey960/hikey960.c
configs/hikey960_defconfig

index 5029f4edb2af3fd7d15935cbb43f3cb36b0a5f0e..fb56762fff689f3cd344086da787135fe72877ab 100644 (file)
@@ -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;
index 440f257072d6414d1c50d7fd389a3779134d9c0f..1cf1ef12bb51918dea2ee98044dba51994dad58c 100644 (file)
@@ -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