Scott Wood <scottw...@freescale.com> wrote on 2010/10/12 22:48:59:
> 
> On Tue, 12 Oct 2010 22:40:27 +0200
> Joakim Tjernlund <joakim.tjernl...@transmode.se> wrote:
> 
> > Scott Wood <scottw...@freescale.com> wrote on 2010/10/12 22:16:14:
> > > The link address is of the pre-relocation NAND buffer.
> > 
> > hmm, then I don't understand how you get by. Initialized static/global
> > ptrs should point into some random area.
> 
> It suspect we just don't have any such pointers in the SPL.

Good for you :)

One could ban these in all of u-boot too. The relocation would
be much simpler for those arch's lacking -mrelocatable.

I suspect there are some low hanging fruits to be picked too:
 char *mystr = "hello"
can often be rewritten as
 char mystr[] = "hello"
which won't cause fixups and smaller code too.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to