From: Kever Yang <kever.yang@rock-chips.com>
Date: Wed, 24 Jan 2024 07:42:04 +0000 (+0800)
Subject: spl: Make SPL_STACK available for ROCKCHIP_RK3036 without spl framework
X-Git-Tag: v2025.01-rc5-pxa1908~663^2~25
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=ce7ae9d2dbe1190153157bddfdefb121f09e1e3e;p=u-boot.git

spl: Make SPL_STACK available for ROCKCHIP_RK3036 without spl framework

rk3036 soc has limit internal sram, and not able to support spl
framework.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 8805dd33fe..6405374bcc 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -371,7 +371,8 @@ config SPL_SHARES_INIT_SP_ADDR
 
 config SPL_STACK
 	hex "Initial stack pointer location"
-	depends on (ARM || ARCH_JZ47XX || MICROBLAZE || RISCV) && SPL_FRAMEWORK
+	depends on (ARM || ARCH_JZ47XX || MICROBLAZE || RISCV) && \
+		SPL_FRAMEWORK || ROCKCHIP_RK3036
 	depends on !SPL_SHARES_INIT_SP_ADDR
 	default 0x946bb8 if ARCH_MX7
 	default 0x93ffb8 if ARCH_MX6 && MX6_OCRAM_256KB