Hi Wolfgang, On Tuesday 17 May 2011 04:47 PM, Wolfgang Denk wrote: > Dear Aneesh V, > > In message<4dd24e63.3020...@ti.com> you wrote: >> >>> But that's not what you are doing. You are not changing the storage >>> of the global data itself, you are changing the storage of the POINTER >>> TO the global data - and this makes no sense to me. The pointer can >>> certainly remain in a register even if the data itself is somewhere >>> else. >> >> Why do we want to waste a register in the entire SPL when global data >> can be accessed directly from .data section? > > Because the resulting code is smaller? >
I was thinking that it may be faster. More number of registers at disposal may mean less number of pushes to the stack, right? I am not sure if this will make a significant difference. best regards, Aneesh _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot