Hi Sudhakar, Thank you for reviewing this patch.
On Thu, Aug 19, 2010 at 2:25 AM, Sudhakar Rajashekhara <sudhakar....@ti.com> wrote: > Ben Gardiner <bengardiner <at> nanometrics.ca> writes: > > [...] snip > >> + >> +void dram_init_banksize (void) >> +{ >> + gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; >> + gd->bd->bi_dram[0].size = gd->ram_size; >> +} >> +#endif >> > > dram_init() gets called from arch/arm/lib/board.c and initializes gd->ram_size > but who is calling dram_init_banksize to initialize gd->bd->bi_dram[0].start > and gd->bd->bi_dram[0].size? As of commit a716b323f10d4f2bce6b4ae01f6d1544e5781ed8 on the arm-reloc-and-cache-support branch of git://git.denx.de/u-boot-testing.git , dram_init_banksize() is called from board_init_f which is executed just before relocation. Best Regards, Ben Gardiner --- Nanometrics Inc. +1 (613) 592-6776 x239 http://www.nanometrics.ca _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot