summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2015-06-09 19:05:00 +0200
committerTom Rini <trini@konsulko.com>2015-06-12 08:11:18 -0400
commit64d16706a052553c85d2f8f4c741879a4e3e6116 (patch)
treed5b9bf1bb5916656b7eb962e2f01acddb1d10129 /board
parentb9130d88fa9e251123e2282184e8c1f3ae428a8a (diff)
downloadu-boot-64d16706a052553c85d2f8f4c741879a4e3e6116.tar.gz
u-boot-64d16706a052553c85d2f8f4c741879a4e3e6116.tar.bz2
u-boot-64d16706a052553c85d2f8f4c741879a4e3e6116.zip
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>
Diffstat (limited to 'board')
-rw-r--r--board/nokia/rx51/lowlevel_init.S4
1 files changed, 0 insertions, 4 deletions
diff --git a/board/nokia/rx51/lowlevel_init.S b/board/nokia/rx51/lowlevel_init.S
index 9d4ea1b3f9..420ad13a12 100644
--- a/board/nokia/rx51/lowlevel_init.S
+++ b/board/nokia/rx51/lowlevel_init.S
@@ -105,10 +105,6 @@ fix_start:
/* r6 - maximal u-boot size */
ldr r6, imagesize
- /* fix return address */
- subhi lr, lr, r5
- addlo lr, lr, r5
-
/* r1 - start of u-boot after */
ldr r1, startaddr