From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:17:58 +0200 Subject: [U-Boot] [U-Boot, v4, 03/66] rockchip: back-to-bootrom: add 'back-to-bootrom' support for AArch64 In-Reply-To: <1501706105-7490-4-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-4-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 > The back-to-bootrom support for Rockchip is equivalent to an > (assembly) implementation of setjmp/longjmp (i.e. it saves the > stack-pointer, link-register and callee-saved registers). Up until > now, this had only been implemented for AArch32 (i.e. ARMv7 or older), > which puts the new ARMv8 devices (which boot in AArch64 mode) at a > slight disadvantage. > > To allow use of the 'back-to-bootrom' feature on new devices (e.g. the > RK3368), this commit adds an implementation for AArch64. > > 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/mach-rockchip/save_boot_param.S | 37 ++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > Applied to u-boot-rockchip, thanks!