| Message ID | 20260902000335.350866-1-marek.vasut+renesas@mailbox.org |
|---|---|
| State | New |
| Delegated to: | Marek Vasut |
| Headers | show |
| Series | arm64: renesas: Drop empty board_early_init_f() from Renesas R-Car Gen5 common code | expand |
diff --git a/board/renesas/common/gen5-common.c b/board/renesas/common/gen5-common.c index 51bab2aa19e..1d7e7d2ab15 100644 --- a/board/renesas/common/gen5-common.c +++ b/board/renesas/common/gen5-common.c @@ -25,11 +25,6 @@ static void init_gic_v3(void) writel(0xffffffff, GICR_SGI_BASE + GICR_IGROUPR0); } -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { /* Allow WDT reset */ diff --git a/configs/renesas_rcar5.config b/configs/renesas_rcar5.config index fbf158dfdb3..14fbe68655c 100644 --- a/configs/renesas_rcar5.config +++ b/configs/renesas_rcar5.config @@ -6,6 +6,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_USE_BOOTARGS=y CONFIG_USE_BOOTCOMMAND=y +# CONFIG_BOARD_EARLY_INIT_F is not set CONFIG_BOOTARGS="root=/dev/nfs rw nfsroot=192.168.0.1:/export/rfs ip=192.168.0.20" CONFIG_CMD_MMC=y CONFIG_DM_ETH_PHY=y
The board_early_init_f() is empty, remove it, and instead disable CONFIG_BOARD_EARLY_INIT_F configuration option to prevent the core from calling board_early_init_f(). Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> --- Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Tom Rini <trini@konsulko.com> Cc: u-boot@lists.u-boot-project.org --- board/renesas/common/gen5-common.c | 5 ----- configs/renesas_rcar5.config | 1 + 2 files changed, 1 insertion(+), 5 deletions(-)