[U-Boot] [RFC PATCH 0/19] Create generic board init and move ARM and x86 to it
Graeme Russ
graeme.russ at gmail.com
Tue Jan 3 10:15:16 CET 2012
Hi Wolfgang,
On 03/01/12 19:12, Wolfgang Denk wrote:
> Dear Simon Glass,
>
> In message <CAPnjgZ2jS8kzCt06LbYnXSyEKm6ck8apm=P1YqqDtnZ0+q9dhw at mail.gmail.com> you wrote:
>>
>> Well let's see how we go with the incremental approach - hopefully we
>> can get the same result with less pain and risk, and not too much
>> work.
>
> Did you miss my proposal not to change the existing coe for all
> boards, but to provide anew implementation and convert boards one by
> one? What do you think about such an approach?
My idea was to migrate each arch to the 'pure processing loops'
implementation I have just posted for x86. We can then factor out the
processing loop code into common code leaving just the init function arrays
in arch/foo/lib/board.c
We can then look at how to deal with the disparate init sequences - I'm
going to have a look at my new 'initcall' proposal to see if that is viable
- If so, we auto generate init_sequence.c
Regards,
Graeme
More information about the U-Boot
mailing list