[U-Boot] [PATCH v2] [TESTING] da8xx: fixup ARM relocation support
Ben Gardiner
bengardiner at nanometrics.ca
Thu Aug 19 15:02:48 CEST 2010
Hi Sudhakar,
Thank you for reviewing this patch.
On Thu, Aug 19, 2010 at 2:25 AM, Sudhakar Rajashekhara
<sudhakar.raj at 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
More information about the U-Boot
mailing list