mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-06 11:30:47 +09:00
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>
This commit is contained in:
parent
9b163d8c4e
commit
78de2c0c3e
@ -78,6 +78,4 @@ void board_init_f(ulong dummy)
|
|||||||
*/
|
*/
|
||||||
return_to_bootrom();
|
return_to_bootrom();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
board_init_r(NULL, 0);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user