]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/nokia/rx51/lowlevel_init.S
dm: pci: Correct bus number when scanning sub-buses
[karo-tx-uboot.git] / board / nokia / rx51 / lowlevel_init.S
index e25290966c5d85668f4d147a748d6f6b14bb84df..420ad13a12cb09252fe08cb460987698840ecfe8 100644 (file)
@@ -37,7 +37,8 @@ ih_magic:             /* IH_MAGIC in big endian from include/image.h */
 
 .global save_boot_params
 save_boot_params:
-
+       /* Get return address */
+       ldr     lr, =save_boot_params_ret
 
 /* Copy valid attached kernel to address KERNEL_ADDRESS */
 
@@ -104,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