]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/pxa/start.S
pxa: Save lr register in relocate_code function
[karo-tx-uboot.git] / arch / arm / cpu / pxa / start.S
index 72af869704000bad2cf7fa542bb0c249a4a89718..e71803eb2e5777e4a029d8b39c24cac3954e3860 100644 (file)
@@ -183,7 +183,9 @@ relocate_code:
 
 /* Disable the Dcache RAM lock for stack now */
 #ifdef CONFIG_CPU_PXA25X
+       mov     r12, lr
        bl      cpu_init_crit
+       mov     lr, r12
 #endif
 
        adr     r0, _start