]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: Allow lr to be saved by board code
authorSimon Glass <sjg@chromium.org>
Sat, 7 Feb 2015 17:47:28 +0000 (10:47 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:52:21 +0000 (13:52 +0200)
commitf480bc66c730cac7645cf054f438a59ddbba42c1
treee43db9089db8dee7f8e8132cb936762614e7d466
parent496ae9161b243ccdafad0e44dc5d3a6fb65c6731
arm: Allow lr to be saved by board code

The link register value can be required on some boards (e.g. FEL mode on
sunxi) so use a branch instruction to jump to save_boot_params() instead
of a branch link.

This requires a branch back to save_boot_params_ret so adjust the users
to deal with this. For exynos just drop the function since it doesn't
do anything.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/exynos/spl_boot.c
arch/arm/cpu/armv7/omap-common/lowlevel_init.S
arch/arm/cpu/armv7/omap3/lowlevel_init.S
arch/arm/cpu/armv7/start.S
arch/arm/include/asm/system.h
board/nokia/rx51/lowlevel_init.S