
4 Feb
2015
4 Feb
'15
5:18 a.m.
The link register value can be required on some boards (e.g. FEL mode on sunxi) so stash it to r4 before jumping to save_boot_params().
Signed-off-by: Simon Glass sjg@chromium.org ---
arch/arm/cpu/armv7/start.S | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S index 0ba26f7..8207d66 100644 --- a/arch/arm/cpu/armv7/start.S +++ b/arch/arm/cpu/armv7/start.S @@ -33,6 +33,7 @@ .globl reset
reset: + mov r4, lr bl save_boot_params /* * disable interrupts (FIQ and IRQ), also set the cpu to SVC32 mode,
--
2.2.0.rc0.207.ga3a616c