From: Kever Yang Date: Fri, 28 Jun 2019 18:07:44 +0800 Subject: [U-Boot] [PATCH v3 2/8] rockchip: rk3288: add separate TPL STACK address In-Reply-To: <20190628100750.17334-1-kever.yang@rock-chips.com> References: <20190628100750.17334-1-kever.yang@rock-chips.com> Message-ID: <20190628100750.17334-3-kever.yang@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de TPL is at SRAM while other stage is at SDRAM, so it needs separate STACK. Signed-off-by: Kever Yang Reviewed-by: Jagan Teki --- Changes in v3: 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 ec7104bf9e..3712e8af8d 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -95,6 +95,7 @@ config ROCKCHIP_RK3288 select TPL_LIBCOMMON_SUPPORT select TPL_LIBGENERIC_SUPPORT select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL + select TPL_NEEDS_SEPARATE_STACK if TPL select TPL_OF_CONTROL select TPL_OF_PLATDATA select 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