[U-Boot] [PATCH v5 2/8] rockchip: rk3288: add separate TPL STACK address
Kever Yang
kever.yang at rock-chips.com
Tue Jul 2 03:43:06 UTC 2019
TPL is at SRAM while other stage is at SDRAM, so it needs
separate STACK.
Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>
---
Changes in v5:
- use imply instead of select for TPL Kconfig option
Changes in v4: None
Changes in v2: None
arch/arm/mach-rockchip/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 9d891ad5f1..1090d21879 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -95,6 +95,7 @@ config ROCKCHIP_RK3288
imply TPL_LIBCOMMON_SUPPORT
imply TPL_LIBGENERIC_SUPPORT
imply TPL_NEEDS_SEPARATE_TEXT_BASE
+ imply TPL_NEEDS_SEPARATE_STACK
imply TPL_OF_CONTROL
imply TPL_OF_PLATDATA
imply TPL_RAM
@@ -118,6 +119,9 @@ config TPL_TEXT_BASE
config TPL_MAX_SIZE
default 32768
+config TPL_STACK
+ default 0xff718000
+
endif
config ROCKCHIP_RK3328
--
2.20.1
More information about the U-Boot
mailing list