diff mbox series

board: renesas: remove empty board_early_init_f function

Message ID 20200922084632.7178-1-biju.das.jz@bp.renesas.com
State Accepted
Commit cb1b6795dfaf69c864d4719395a38399137d6bd4
Delegated to: Marek Vasut
Headers show
Series board: renesas: remove empty board_early_init_f function | expand

Commit Message

Biju Das Sept. 22, 2020, 8:46 a.m. UTC
Remove empty board_early_init_f function, since it is disabled
in ebisu and condor board configs.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
This patch depend upon [1] and [2]
[1] https://patchwork.ozlabs.org/project/uboot/patch/20200922083044.5747-1-biju.das.jz@bp.renesas.com/
[2] https://patchwork.ozlabs.org/project/uboot/patch/20200922084150.6672-1-biju.das.jz@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(-)

Comments

Marek Vasut Sept. 22, 2020, 1:13 p.m. UTC | #1
On 9/22/20 10:46 AM, Biju Das wrote:
> Remove empty board_early_init_f function, since it is disabled
> in ebisu and condor board configs.

Applied to sh/next, thanks
diff mbox series

Patch

diff --git a/board/renesas/condor/condor.c b/board/renesas/condor/condor.c
index ac28d74b4d..8054511d9d 100644
--- a/board/renesas/condor/condor.c
+++ b/board/renesas/condor/condor.c
@@ -18,11 +18,6 @@ 
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int board_init(void)
 {
 	/* adress of boot parameters */
diff --git a/board/renesas/ebisu/ebisu.c b/board/renesas/ebisu/ebisu.c
index 8d837279c1..8d6b8fecf9 100644
--- a/board/renesas/ebisu/ebisu.c
+++ b/board/renesas/ebisu/ebisu.c
@@ -29,11 +29,6 @@ 
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int board_init(void)
 {
 	/* adress of boot parameters */
diff --git a/configs/r8a77980_condor_defconfig b/configs/r8a77980_condor_defconfig
index 1f72e55285..709eb34464 100644
--- a/configs/r8a77980_condor_defconfig
+++ b/configs/r8a77980_condor_defconfig
@@ -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
diff --git a/configs/r8a77990_ebisu_defconfig b/configs/r8a77990_ebisu_defconfig
index f5502de1fc..f4499cd6e8 100644
--- a/configs/r8a77990_ebisu_defconfig
+++ b/configs/r8a77990_ebisu_defconfig
@@ -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