[PATCH 1/2] 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 ---
common/spl/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index e7b84fc1fa6..9deee0fdbea 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -372,7 +372,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

The CONFIG_SPL_STACK for rk3036 is removed in below patch, need to add it back.
Fixes: f113d7d3034 ("Convert CONFIG_SPL_STACK to Kconfig") Signed-off-by: Kever Yang kever.yang@rock-chips.com ---
configs/evb-rk3036_defconfig | 1 + configs/kylin-rk3036_defconfig | 1 + 2 files changed, 2 insertions(+)
diff --git a/configs/evb-rk3036_defconfig b/configs/evb-rk3036_defconfig index 21c657a441c..df6aaa97a0c 100644 --- a/configs/evb-rk3036_defconfig +++ b/configs/evb-rk3036_defconfig @@ -15,6 +15,7 @@ CONFIG_DEFAULT_DEVICE_TREE="rk3036-sdk" CONFIG_SPL_TEXT_BASE=0x10081000 CONFIG_ROCKCHIP_RK3036=y CONFIG_SPL_STACK_R_ADDR=0x80000 +CONFIG_SPL_STACK=0x10081fff CONFIG_DEBUG_UART_BASE=0x20068000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SYS_LOAD_ADDR=0x60800800 diff --git a/configs/kylin-rk3036_defconfig b/configs/kylin-rk3036_defconfig index 8d3f1a7b098..17360c552c7 100644 --- a/configs/kylin-rk3036_defconfig +++ b/configs/kylin-rk3036_defconfig @@ -17,6 +17,7 @@ CONFIG_SPL_TEXT_BASE=0x10081000 CONFIG_ROCKCHIP_RK3036=y CONFIG_TARGET_KYLIN_RK3036=y CONFIG_SPL_STACK_R_ADDR=0x80000 +CONFIG_SPL_STACK=0x10081fff CONFIG_DEBUG_UART_BASE=0x20068000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SYS_LOAD_ADDR=0x60800800
participants (1)
-
Kever Yang