
24 Aug
2012
24 Aug
'12
7:21 p.m.
On 08/24/2012 06:19 PM, Tom Rini wrote:
What do you think? Can you move this gd init stuff into such a common ARM spl file in the next patchset version?
Yes. We should probably say it's the job of board_init_f. I know full U-Boot does it at the start of board_init_r but I think for SPL it makes sense to document that board_init_f does any early init it needs to, clears BSS, sets up gd and calls board_init_r.
Full ack. In my next patchset version, I already extracted this gd setup into board_init_f().
OK good, I just booted and reset my arm9 platform with this proof-of-concepted over. I should post v4 today.
Great. I'll rebase my patches on top of that next week then.
Thanks, Stefan