On Tue, Jun 15, 2010 at 10:09 AM, Steve Sakoman <steve at 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 [...] -- Regards, Vaibhav