commit | 6a7672339ffabd481753d007b82c643249daac47 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Sat Aug 29 10:16:20 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Fri Sep 04 11:54:20 2015 +0200 |
tree | 6f87ae6dff719c72e46e4f54e2d2d02ab0ea330b | |
parent | cabc3b46b7be15f83b6d941da481530a76d492e9 [diff] |
arm: socfpga: 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 SoCFPGA SPL with the correct SPL design as well as reduces the stack utilisation slightly. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>