[U-Boot] [PATCH v2] [TESTING] da8xx: fixup ARM relocation support

Sudhakar Rajashekhara sudhakar.raj at ti.com
Thu Aug 19 08:25:16 CEST 2010


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?

Regards,
Sudhakar




More information about the U-Boot mailing list