u-boot/arch/arm/cpu/arm926ejs/sunxi
Andre Przywara c21f3d4571 sunxi: f1c100s: Fix FEL registers restore
Commit 88998f7775 ("arm: arm926ej-s: Add sunxi code") introduced
the ARM926 version of the code to save and restore some FEL state, to
be able to return to the BROM FEL code after the SPL has run.

However during review a change was made, that happened to mess up the
register restore part, so SCTLR and CPSR ended up with the wrong values,
breaking return to FEL.

Use the same offset that we actually save those registers to, to make
FEL booting actually work on the Lichee Pi Nano.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2022-03-03 01:24:06 +00:00
..
config.mk arm: arm926ej-s: Add sunxi code 2022-02-04 00:09:57 +00:00
fel_utils.S sunxi: f1c100s: Fix FEL registers restore 2022-03-03 01:24:06 +00:00
Makefile arm: arm926ej-s: Add sunxi code 2022-02-04 00:09:57 +00:00
u-boot-spl.lds arm: arm926ej-s: Add sunxi code 2022-02-04 00:09:57 +00:00