Nokia RX-51: Fix calculating return address in save_boot_params
authorPali Rohár <pali.rohar@gmail.com>
Tue, 9 Jun 2015 17:05:00 +0000 (19:05 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2015 12:11:18 +0000 (08:11 -0400)
commit64d16706a052553c85d2f8f4c741879a4e3e6116
treed5b9bf1bb5916656b7eb962e2f01acddb1d10129
parentb9130d88fa9e251123e2282184e8c1f3ae428a8a
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>
board/nokia/rx51/lowlevel_init.S