On 16:50 Sat 19 Apr , Matthias Fuchs wrote: > Hi Stefan, > > I could also life with your approach, but it will add code > even to platforms that do not use the new option. > > In this case I would prefer it against the weak implementation. I've already answer about it to Timur in this e-mail http://article.gmane.org/gmane.comp.boot-loaders.u-boot/37814/match=weak
I'm preparing a path about adding this define import compiler-gcc header from linux and add #ifndef __weak_alias #ifndef __weak_alias(fct) __attribute__((weak,alias(#fct))) #endif so just add __weak to your default stucture and overwrite in the board Best Regards, J. ------------------------------------------------------------------------- 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