summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-08-31 07:20:12 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-10-21 02:25:01 +0200
commit78de2c0c3e4ffc550023b667f72a3eb6c252ff80 (patch)
tree6ab3efa9b5e6165e6643ef155856314572ffebed /arch/arm/mach-mvebu
parent9b163d8c4e27137f4a51025f9cc52a132a697909 (diff)
downloadtalos-obmc-uboot-78de2c0c3e4ffc550023b667f72a3eb6c252ff80.tar.gz
talos-obmc-uboot-78de2c0c3e4ffc550023b667f72a3eb6c252ff80.zip
arm: mvebu: Do not call board_init_r() from board_init_f()
Instead of calling board_init_r() directly from board_init_f(), just return from board_init_f(). This will make the code continue executing in crt0.S _main(), from which the board_init_r() is called. This patch aligns the MVEBU SPL with the correct SPL design as well as reduces the stack utilisation slightly. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r--arch/arm/mach-mvebu/spl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c
index 26ff1a24ac..e273339648 100644
--- a/arch/arm/mach-mvebu/spl.c
+++ b/arch/arm/mach-mvebu/spl.c
@@ -78,6 +78,4 @@ void board_init_f(ulong dummy)
*/
return_to_bootrom();
#endif
-
- board_init_r(NULL, 0);
}
OpenPOWER on IntegriCloud