Searched hist:e11c6c279d823dc0d2f470c5c2e3c0a9854a640f (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/board/nokia/rx51/ |
| H A D | lowlevel_init.S | 64d16706a052553c85d2f8f4c741879a4e3e6116 Tue Jun 09 17:05:00 UTC 2015 Pali Rohár <pali.rohar@gmail.com> Nokia RX-51: Fix calculating return address in save_boot_params
Commit e11c6c279d823dc0d2f470c5c2e3c0a9854a640f broke calculating lr register in function save_boot_params() and caused U-Boot to crash at early boot time on Nokia N900 board.
This patch fix calculating return address in lr register and make Nokia N900 board bootable again. Patch was tested in qemu and also on real N900 HW.
Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Pali Rohár <pali.rohar@gmail.com> e11c6c279d823dc0d2f470c5c2e3c0a9854a640f Sat Feb 07 17:47:28 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | system.h | e11c6c279d823dc0d2f470c5c2e3c0a9854a640f Sat Feb 07 17:47:28 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/arch/arm/cpu/armv7/ |
| H A D | start.S | e11c6c279d823dc0d2f470c5c2e3c0a9854a640f Sat Feb 07 17:47:28 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|