arm: armada-xp: Fix SPL for AXP by using save_boot_params_ret
authorStefan Roese <sr@denx.de>
Wed, 11 Mar 2015 11:05:04 +0000 (12:05 +0100)
committerLuka Perkov <luka.perkov@sartura.hr>
Sat, 11 Apr 2015 09:49:00 +0000 (11:49 +0200)
Patch e11c6c27 (arm: Allow lr to be saved by board code) introduced
a different method to return from save_boot_params(). The SPL support
for AXP has been pulled and changing to this new method is now
required for SPL to work correctly.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Luka Perkov <luka.perkov@sartura.hr>
arch/arm/cpu/armv7/armada-xp/lowlevel_spl.S

index f4a701204bed152422c0fcbf2e1915566b6becc9..69da7fe7afd6ced7a689032ed3ce5ccd32f1cbf5 100644 (file)
@@ -6,7 +6,7 @@
 #include <linux/linkage.h>
 
 ENTRY(save_boot_params)
-       bx      lr
+       b       save_boot_params_ret
 ENDPROC(save_boot_params)
 
 /*