[U-Boot] [RFC 0/3] ARM: cleanup gd init

Jeroen Hofstee jeroen at myspectrum.nl
Sun Sep 22 20:26:07 CEST 2013


Hello,

On 08/24/2013 06:32 PM, Jeroen Hofstee wrote:
> 4) 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




More information about the U-Boot mailing list