rockchip: rk3288: add separate TPL STACK address
authorKever Yang <kever.yang@rock-chips.com>
Tue, 2 Jul 2019 03:43:06 +0000 (11:43 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 2 Jul 2019 03:49:49 +0000 (11:49 +0800)
TPL is at SRAM while other stage is at SDRAM, so it needs
separate STACK.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/mach-rockchip/Kconfig

index 9d891ad5f1ceb0a9a9f457edb09e7bd6432e9d95..1090d21879c5c97fa1dbaf171fd657d58bed299f 100644 (file)
@@ -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