[U-Boot-Users] [PATCH] Change env_get_char from a global function ptr to a function.

Joakim Tjernlund joakim.tjernlund at transmode.se
Sun Mar 30 23:05:29 CEST 2008


On Sun, 2008-03-30 at 22:59 +0200, Wolfgang Denk wrote:
> In message <1206719159-11200-2-git-send-email-Joakim.Tjernlund at transmode.se> you wrote:
> > This avoids an early global data reference.
> 
> What exactly is the problem you're trying to fix? It seems the
> resulting code is not exactly smaller than the old one?

Just one step closer to full relocation of u-boot. Global variables
before relocation to RAM is hard to deal with. Not sure if the code
got smaller or not.

 Jocke




More information about the U-Boot mailing list