From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:06 +0200 Subject: [U-Boot] [U-Boot, v4, 17/66] armv8: spl: Support separate stack for TPL In-Reply-To: <1501706105-7490-18-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-18-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > To allow a TPL and SPL to run from different addresses/memories, we > need to split setup of the TPL and SPL stacks. To do so, we introduce > CONFIG_TPL_STACK (not listed in Kconfig) which can be used to override > the initial stack pointer for TPL. > > To provide backward compatibility for existing boards, this is added > as an optional configuration item and the normal search order (i.e. > SPL_STACK, then SYS_STACK) apply if not defined. > > Signed-off-by: Philipp Tomsich > > Reviewed-by: Simon Glass > Reviewed-by: Tom Rini > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/lib/crt0_64.S | 4 +++- > scripts/config_whitelist.txt | 1 + > 2 files changed, 4 insertions(+), 1 deletion(-) > Applied to u-boot-rockchip, thanks!