hi Aneesh, On Wed, Feb 2, 2011 at 7:31 PM, Aneesh V <ane...@ti.com> wrote:
> Yes. These are variables that otherwise would go to BSS. I do this > because I need them before SDRAM initialization. One of this is the gd > structure. I allocate gd structure in .data that is in IRAM. > Why I need gd before SDRAM? Because I try to initialize serial console > as early as possible and this code has some reference to gd. > I had added serial console support in my nand_spl code for the hawkboard port(referring existing FSL boards). I think the serial console can be initialised using NS16550_init, which does not access any gd variable. This is assuming that you can use the ns16550 serial driver :) -sughosh
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot