[U-Boot] initcall revisited - A new idea to discuss

Simon Glass sjg at chromium.org
Tue Jan 3 23:43:47 CET 2012


Hi Wolfgang,

On Tue, Jan 3, 2012 at 2:36 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Simon Glass,
>
> In message <CAPnjgZ3aOyvYPA93ecbMyqhCaaZcBPhfcYhXYYa1ax+9_uEojw at mail.gmail.com> you wrote:
>>
>> I have been thinking if there is a way we can avoid the
>> post-processing perhaps by specifying two function parameters to the
>> macro (the init function to call and its prerequisite) and having the
>> initcall code sort the list before starting. We could have dummy
>
> You mean sort at runtime?
>
> NAK.  all this must be done when building, i. e. at compile time.

Yes that's what I meant. It is more flexible to do this at build time
if we are happy with the additional build step. OK.

Regards,
Simon

>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "The combination of a number of things to make existence worthwhile."
> "Yes, the philosophy of 'none,' meaning 'all.'"
>        -- Spock and Lincoln, "The Savage Curtain", stardate 5906.4


More information about the U-Boot mailing list