
22 Sep
2013
22 Sep
'13
8:26 p.m.
Hello,
On 08/24/2013 06:32 PM, Jeroen Hofstee wrote:
- Keep the s_init in crt0.S or move it to the board_init_f?
The disadvantage of the later is that all the different board_init_f's need to call system_init.
Since this has been on the mailing-list for a month without a reply, let's push this a bit.
Moving s_init to board_init_f is not smart since there are many board_init_f already and likely there will be more in the future since SPL uses it as well. It also provides a chance to save bootrom registers to gd. After boad_init_f r1 is clobbered at least..
Regards, Jeroen