[U-Boot] [PATCH] ppc: transform init_sequence into a function.

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Nov 30 13:36:14 CET 2009


Wolfgang Denk <wd at denx.de> wrote on 27/11/2009 21:18:28:
> I am not convinced yet that the new code is actually an improvement.
> Changing the array of pointers into a list of function calls does not
> solve any of the real issues we have with the init seuqnece - like
> that some board need the PCI initialization early, and others later,
> etc.

Somewhat offtopic, but you could add a few weak empty dummy functions
at strategic places in the board_X funcs. Any board that
needs some extra init sequence could define the appropriate function
which will replace the weak one.
Even my new init_sequence function could be made weak.

    Jocke



More information about the U-Boot mailing list