[PATCH] board: renesas: remove empty board_early_init_f function

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] board: renesas: remove empty board_early_init_f function

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

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

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
--
2.17.1

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] board: renesas: remove empty board_early_init_f function

Marek Vasut
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