Skip to contentSkip to conversation

board: renesas: remove empty board_early_init_f function

PATCH New Biju Das 2 participants 2 messages Sep 22, 2020

lore
Share & tools
lore

Biju Das

author
#0 lore raw

PATCH 1/1 board: renesas: remove empty board_early_init_f function

Remove empty board_early_init_f function, since it is disabled in ebisu and condor board configs.

---
This patch depend upon [1] and [2]
[1] https://patchwork.ozlabs.org/project/uboot/patch/20200922083044.5747-1-biju.das.jz at bp.renesas.com/
[2] https://patchwork.ozlabs.org/project/uboot/patch/20200922084150.6672-1-biju.das.jz at bp.renesas.com/

---
 board/renesas/condor/condor.c     | 5 -----
 board/renesas/ebisu/ebisu.c       | 5 -----
 configs/r8a77980_condor_defconfig | 1 +
 configs/r8a77990_ebisu_defconfig  | 1 +
 4 files changed, 2 insertions(+), 10 deletions(-)
board/renesas/condor/condor.c +0 -5
index ac28d74b4d..8054511d9d 100644
@@ -18,11 +18,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int board_init(void)
 {
 	/* adress of boot parameters */
board/renesas/ebisu/ebisu.c +0 -5
index 8d837279c1..8d6b8fecf9 100644
@@ -29,11 +29,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int board_init(void)
 {
 	/* adress of boot parameters */
configs/r8a77980_condor_defconfig +1 -0
index 1f72e55285..709eb34464 100644
@@ -10,6 +10,7 @@ CONFIG_DM_GPIO=y
 CONFIG_SPL_TEXT_BASE=0xe6318000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_CONDOR=y
+# CONFIG_BOARD_EARLY_INIT_F is not set
 CONFIG_DEFAULT_DEVICE_TREE="r8a77980-condor-u-boot"
 CONFIG_SMBIOS_PRODUCT_NAME=""
 CONFIG_FIT=y
configs/r8a77990_ebisu_defconfig +1 -0
index f5502de1fc..f4499cd6e8 100644
@@ -9,6 +9,7 @@ CONFIG_DM_GPIO=y
 CONFIG_SPL_TEXT_BASE=0xe6318000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_EBISU=y
+# CONFIG_BOARD_EARLY_INIT_F is not set
 CONFIG_DEFAULT_DEVICE_TREE="r8a77990-ebisu-u-boot"
 CONFIG_SMBIOS_PRODUCT_NAME=""
 CONFIG_FIT=y
Signature · 1 line
2.17.1
Applied
#1 lore raw

PATCH 1/1 board: renesas: remove empty board_early_init_f function

Quoted 2 lines · Biju Das

Remove empty board_early_init_f function, since it is disabled in ebisu and condor board configs.

Applied to sh/next, thanks