public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: [PATCH] hikey960: Drop unnecessary BOARD_EARLY_INIT_F usage
Date: Wed, 25 Mar 2026 13:00:33 -0600	[thread overview]
Message-ID: <20260325190033.3428670-1-trini@konsulko.com> (raw)

This platform enables CONFIG_BOARD_EARLY_INIT_F and then has a
do-nothing board_early_init_f function. Change to not enabling the
option and so not needing an empty function.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
 board/hisilicon/hikey960/hikey960.c | 5 -----
 configs/hikey960_defconfig          | 1 -
 2 files changed, 6 deletions(-)

diff --git a/board/hisilicon/hikey960/hikey960.c b/board/hisilicon/hikey960/hikey960.c
index 5029f4edb2af..fb56762fff68 100644
--- a/board/hisilicon/hikey960/hikey960.c
+++ b/board/hisilicon/hikey960/hikey960.c
@@ -60,11 +60,6 @@ static struct mm_region hikey_mem_map[] = {
 
 struct mm_region *mem_map = hikey_mem_map;
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int misc_init_r(void)
 {
 	return 0;
diff --git a/configs/hikey960_defconfig b/configs/hikey960_defconfig
index 440f257072d6..1cf1ef12bb51 100644
--- a/configs/hikey960_defconfig
+++ b/configs/hikey960_defconfig
@@ -19,7 +19,6 @@ CONFIG_SYS_CBSIZE=256
 CONFIG_SYS_PBSIZE=283
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_MISC_INIT_R=y
 CONFIG_SYS_PROMPT="U-Boot => "
 CONFIG_CMD_MD5SUM=y
-- 
2.43.0


             reply	other threads:[~2026-03-25 19:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-25 19:00 Tom Rini [this message]
2026-04-08 14:51 ` [PATCH] hikey960: Drop unnecessary BOARD_EARLY_INIT_F usage Tom Rini

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=20260325190033.3428670-1-trini@konsulko.com \
    --to=trini@konsulko.com \
    --cc=manivannan.sadhasivam@linaro.org \
    --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