From: Paul Kocialkowski <paulk@sys-base.io>
To: u-boot@lists.denx.de
Cc: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,
Tom Rini <trini@konsulko.com>,
Wolfgang Wallner <wolfgang.wallner@br-automation.com>,
Sjoerd Simons <sjoerd.simons@collabora.co.uk>,
Govindaraji Sivanantham <Govindaraji.Sivanantham@in.bosch.com>,
Hiremath Gireesh <Gireesh.Hiremath@in.bosch.com>,
Heiko Schocher <hs@denx.de>, Felix Brack <fb@ltec.ch>,
Marcin Niestroj <m.niestroj@grinn-global.com>,
Enric Balletbo i Serra <enric.balletbo@collabora.com>,
Yegor Yefremov <yegorslists@googlemail.com>
Subject: [PATCH 1/3] omap: Use spl_soc_init instead of spl_board_init
Date: Mon, 29 Jul 2024 22:44:37 +0200 [thread overview]
Message-ID: <20240729204439.429900-1-paulk@sys-base.io> (raw)
Both spl_board_init and spl_soc_init are available as ways to run
specific code in the SPL's board_init_r. Use the former for init
code that is specific to the SoC and leave spl_board_init available
for boards to use.
Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
---
arch/arm/Kconfig | 2 +-
arch/arm/mach-omap2/boot-common.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index ba0359fed5ad..656f588a97c0 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -802,7 +802,7 @@ config ARCH_OMAP2PLUS
bool "TI OMAP2+"
select CPU_V7A
select GPIO_EXTRA_HEADER
- select SPL_BOARD_INIT if SPL
+ select SPL_SOC_INIT if SPL
select SPL_STACK_R if SPL
select SUPPORT_SPL
imply TI_SYSC if DM && OF_CONTROL
diff --git a/arch/arm/mach-omap2/boot-common.c b/arch/arm/mach-omap2/boot-common.c
index e1ea3515ac10..21b204074e80 100644
--- a/arch/arm/mach-omap2/boot-common.c
+++ b/arch/arm/mach-omap2/boot-common.c
@@ -269,7 +269,7 @@ skip_ipu1:
debug("%s: IPU2 failed to start (%d)\n", __func__, ret);
}
-void spl_board_init(void)
+void spl_soc_init(void)
{
/* Prepare console output */
preloader_console_init();
--
2.45.2
next reply other threads:[~2024-07-29 20:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 20:44 Paul Kocialkowski [this message]
2024-07-29 20:44 ` [PATCH 2/3] am33xx: Use regular spl_board_init instead of am33xx_spl_board_init Paul Kocialkowski
2024-07-29 20:47 ` Tom Rini
2024-07-29 20:44 ` [PATCH 3/3] omap3: sniper: Convert to device-tree control and DM I2C Paul Kocialkowski
2024-07-29 20:47 ` [PATCH 1/3] omap: Use spl_soc_init instead of spl_board_init Tom Rini
2024-08-07 14:20 ` 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=20240729204439.429900-1-paulk@sys-base.io \
--to=paulk@sys-base.io \
--cc=Gireesh.Hiremath@in.bosch.com \
--cc=Govindaraji.Sivanantham@in.bosch.com \
--cc=enric.balletbo@collabora.com \
--cc=fb@ltec.ch \
--cc=hs@denx.de \
--cc=m.niestroj@grinn-global.com \
--cc=rayagonda.kokatanur@broadcom.com \
--cc=sjoerd.simons@collabora.co.uk \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=wolfgang.wallner@br-automation.com \
--cc=yegorslists@googlemail.com \
/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