All of lore.kernel.org
 help / color / mirror / Atom feed
From: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
To: u-boot@lists.u-boot-project.org,
	Quentin Schulz <u-boot@0leil.net>,
	 Jonas Karlman <jonas@kwiboo.se>
Cc: Tom Rini <trini@konsulko.com>,
	 Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	 Johan Jonker <jbx6244@gmail.com>,
	 Massimo Pegorer <massimo.pegorer+oss@gmail.com>
Subject: [PATCH 1/7] mach-rockchip: px30: TPL_ROCKCHIP_COMMON_BOARD is not an option
Date: Tue, 01 Dec 2026 20:18:18 +0100	[thread overview]
Message-ID: <20261201-brom-v1-1-06f157a269fd@gmail.com> (raw)
In-Reply-To: <20261201-brom-v1-0-06f157a269fd@gmail.com>

PX30 has its own TPL specific code: due to maximum size constraints,
it is not possible to build TPL using the TPL_ROCKCHIP_COMMON_BOARD
infrastructure. Moreover, selecting TPL_ROCKCHIP_COMMON_BOARD causes
multiple definition errors to arise at build time. Make this option
unavailable when the Rockchip SoC is PX30.

Signed-off-by: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
---
 arch/arm/mach-rockchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index c1dbcce1e27..a27fd2b9bc0 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -638,7 +638,7 @@ config SPL_ROCKCHIP_COMMON_BOARD
 
 config TPL_ROCKCHIP_COMMON_BOARD
 	bool "Rockchip TPL common board file"
-	depends on TPL
+	depends on TPL && !ROCKCHIP_PX30
 	help
 	  Rockchip SoCs have similar boot process, prefer to use TPL for DRAM
 	  init and back to bootrom, and SPL as Trust ATF/U-Boot loader. TPL

-- 
2.34.1


  reply	other threads:[~2026-12-01 19:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 19:18 [PATCH 0/7] mach-rockchip: Add xPL phase context to ROCKCHIP_BROM_HELPER Massimo Pegorer
2026-12-01 19:18 ` Massimo Pegorer [this message]
2026-12-01 19:18 ` [PATCH 2/7] mach-rockchip: rk3036: SPL_ROCKCHIP_COMMON_BOARD is not an option Massimo Pegorer
2026-12-01 19:18 ` [PATCH 3/7] mach-rockchip: px30: force TPL_ROCKCHIP_BACK_TO_BROM option selection Massimo Pegorer
2026-12-01 19:18 ` [PATCH 4/7] mach-rockchip: rk3036: force SPL_ROCKCHIP_BACK_TO_BROM " Massimo Pegorer
2026-12-01 19:18 ` [PATCH 5/7] mach-rockchip: Kconfig: Select xPL_BOOTROM_SUPPORT only if needed Massimo Pegorer
2026-12-01 19:18 ` [PATCH 6/7] configs: rockchip: Drop unneeded SPL_BOOTROM_SUPPORT option Massimo Pegorer
2026-12-01 19:18 ` [PATCH 7/7] mach-rockchip: Add xPL phase context to ROCKCHIP_BROM_HELPER option Massimo Pegorer

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=20261201-brom-v1-1-06f157a269fd@gmail.com \
    --to=massimo.pegorer+oss@gmail.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jbx6244@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=trini@konsulko.com \
    --cc=u-boot@0leil.net \
    --cc=u-boot@lists.u-boot-project.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.