In message <[EMAIL PROTECTED]> you wrote:
> 
> It is a step closer towards full relocation of u-boot, I want to get rid
> of using global data while in FLASH.

I doubt that this will work, but I'd love to be surprised :-)

> > The original idea of having such a list  of  funtion  pointers  which
> > just  get executed one after another was to be able to wrap this into
> > some "#ifndef CONFIG_INIT_SEQUENCE" and use this to allow for  board-
> > specific init sequences by just adding a #define with the needed list
> > of functions to the board config files.
> 
> You can do that with weak functions too. Just make all the functions
> weak, then a board can overide with its own function.

That would not, for example, to allow to change the sequence - say
one board needs to initialize PCI very early, but another one very
late.

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: [EMAIL PROTECTED]
If the hours are long enough and the pay  is  short  enough,  someone
will say it's women's work.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to