On Mon, Jun 14, 2010 at 10:26 PM, Vaibhav Bedia <vaibhav.be...@gmail.com> wrote: > On Tue, Jun 15, 2010 at 10:09 AM, Steve Sakoman <st...@sakoman.com> wrote: > [...] > >> +int board_init(void) >> +{ >> + DECLARE_GLOBAL_DATA_PTR; >> > This should be moved outside the function. Relevant thread > http://article.gmane.org/gmane.comp.boot-loaders.u-boot/31805
I'll fix this. Looks like a bunch of other boards do the same. I'll prepare fix patches for some of the other OMAP boards that still do this. Steve _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot