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>,
	 Quentin Schulz <quentin.schulz@cherry.de>
Subject: [PATCH v2 5/5] arm: rockchip: Remove unneeded SPL_SHARES_INIT_SP_ADDR check
Date: Mon, 23 Nov 2026 19:00:08 +0100	[thread overview]
Message-ID: <20261123-config-v2-5-be23de2a81f5@gmail.com> (raw)
In-Reply-To: <20261123-config-v2-0-be23de2a81f5@gmail.com>

The ROCKCHIP_COMMON_STACK_ADDR configuration option depends on
SPL_SHARES_INIT_SP_ADDR, therefore the logical AND of the two options
values is equal to the to value of ROCKCHIP_COMMON_STACK_ADDR.

Reviewed-by: Jonas Karlman <jonas@kwiboo.se>
Fixes: 008ba0d56d00 ("rockchip: Add common default bss and stack addresses")
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
---
Changes in v2:
- collect Fixes and Reviewed-by tags
- reword commit message title
---
 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 11062c4c5c1..7720c928e90 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -798,7 +798,7 @@ source "arch/arm/mach-rockchip/rk3588/Kconfig"
 source "arch/arm/mach-rockchip/rv1108/Kconfig"
 source "arch/arm/mach-rockchip/rv1126/Kconfig"
 
-if ROCKCHIP_COMMON_STACK_ADDR && SPL_SHARES_INIT_SP_ADDR
+if ROCKCHIP_COMMON_STACK_ADDR
 
 config CUSTOM_SYS_INIT_SP_ADDR
 	default 0x63f00000 if SPL_TEXT_BASE = 0x60000000

-- 
2.34.1


      parent reply	other threads:[~2026-11-23 18:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 18:00 [PATCH v2 0/5] arm: rockchip: TPL/SPL config options minor fixes Massimo Pegorer
2026-11-23 18:00 ` [PATCH v2 1/5] arm: rockchip: rv1126: Remove unneeded TPL_LDSCRIPT default Massimo Pegorer
2026-11-23 18:00 ` [PATCH v2 2/5] arm: rockchip: Avoid TPL_LDSCRIPT configuration when unneeded Massimo Pegorer
2026-11-23 18:00 ` [PATCH v2 3/5] arm: rockchip: Move SPL_BSS_MAX_SIZE default value defintion Massimo Pegorer
2026-11-23 18:00 ` [PATCH v2 4/5] arm: rockchip: Avoid SPL_BSS_START_ADDR definition if unneeded Massimo Pegorer
2026-11-23 18:00 ` Massimo Pegorer [this message]

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=20261123-config-v2-5-be23de2a81f5@gmail.com \
    --to=massimo.pegorer+oss@gmail.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jbx6244@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=quentin.schulz@cherry.de \
    --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.