From: Adam Ford <aford173@gmail.com>
To: u-boot@lists.denx.de
Cc: biju.das.jz@bp.renesas.com, marek.vasut+renesas@gmail.com,
Adam Ford <aford173@gmail.com>
Subject: [PATCH 4/5] ARM: rmobile: Beacon: Remove dead code
Date: Mon, 30 Aug 2021 10:39:51 -0500 [thread overview]
Message-ID: <20210830153952.598658-4-aford173@gmail.com> (raw)
In-Reply-To: <20210830153952.598658-1-aford173@gmail.com>
There are a few do-nothing functions that can be removed.
Remove them.
Signed-off-by: Adam Ford <aford173@gmail.com>
diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c
index b3521fcbc1..df6044a429 100644
--- a/board/beacon/beacon-rzg2m/beacon-rzg2m.c
+++ b/board/beacon/beacon-rzg2m/beacon-rzg2m.c
@@ -10,16 +10,6 @@
DECLARE_GLOBAL_DATA_PTR;
-void s_init(void)
-{
-}
-
-/* Kconfig forces this on, so just return 0 */
-int board_early_init_f(void)
-{
- return 0;
-}
-
int board_init(void)
{
/* address of boot parameters */
diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig
index 0956b44c06..d2c0d6a96e 100644
--- a/configs/r8a774a1_beacon_defconfig
+++ b/configs/r8a774a1_beacon_defconfig
@@ -13,6 +13,7 @@ CONFIG_FIT=y
CONFIG_SUPPORT_RAW_INITRD=y
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
CONFIG_DEFAULT_FDT_FILE="r8a774a1-beacon-rzg2m-kit.dtb"
+# CONFIG_BOARD_EARLY_INIT_F is not set
CONFIG_HUSH_PARSER=y
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_GPIO=y
--
2.25.1
next prev parent reply other threads:[~2021-08-30 15:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-30 15:39 [PATCH 1/5] ARM: rmobile: Enable board detection when FIT is enabled Adam Ford
2021-08-30 15:39 ` [PATCH 2/5] ARM: rmobile: beacon: Support RZ/G2 [M/N/H] on TARGET_BEACON_RZG2M Adam Ford
2021-08-30 15:39 ` [PATCH 3/5] ARM: rmobile: beacon: Remove duplicated for RZ/G2 M/N/H Adam Ford
2021-08-30 15:39 ` Adam Ford [this message]
2021-08-30 15:39 ` [PATCH 5/5] ARM: rmobile: beacon: Enable reference clocks for USB and AVB Adam Ford
2021-09-20 12:11 ` [PATCH 1/5] ARM: rmobile: Enable board detection when FIT is enabled Adam Ford
2021-09-20 12:35 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210830153952.598658-4-aford173@gmail.com \
--to=aford173@gmail.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=marek.vasut+renesas@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox