public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] board: renesas: remove empty board_early_init_f function
@ 2020-09-22  8:46 Biju Das
  2020-09-22 13:13 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: Biju Das @ 2020-09-22  8:46 UTC (permalink / raw)
  To: u-boot

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 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(-)

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] board: renesas: remove empty board_early_init_f function
  2020-09-22  8:46 [PATCH] board: renesas: remove empty board_early_init_f function Biju Das
@ 2020-09-22 13:13 ` Marek Vasut
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2020-09-22 13:13 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-22 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-22  8:46 [PATCH] board: renesas: remove empty board_early_init_f function Biju Das
2020-09-22 13:13 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox