[U-Boot] [PATCH v3 63/66] rockchip: rk3368: mark TPL as not inheriting its stack, text-base and size from SPL

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri Jul 28 19:22:35 UTC 2017


The RK3368 needs to have a different base-address and stack-pointer
for its TPL stage.  Now that we want to do this via Kconfig, we need
to tick the appropriate 'TPL_NEEDS_...' boxes.

Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>

---

Changes in v3:
- changes Kconfig, so RK3368 will notify the SPL configuration of
  its need to have the TPL text-base, stack-pointer and max-size
  configured

Changes in v2: None

 arch/arm/mach-rockchip/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 8406e33..9422cf2 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -69,6 +69,8 @@ config ROCKCHIP_RK3368
 	select ARM64
 	select SUPPORT_SPL
 	select SUPPORT_TPL
+	select TPL_NEEDS_SEPARATE_TEXT_BASE
+	select TPL_NEEDS_SEPARATE_STACK
 	select SPL_SEPARATE_BSS
 	select SPL_SERIAL_SUPPORT
 	select TPL_SERIAL_SUPPORT
-- 
2.1.4



More information about the U-Boot mailing list