[U-Boot] [PATCH 2/5] arch: arm: omap: Declare size of ddr very early
B, Ravi
ravibabu at ti.com
Tue Apr 18 14:09:23 UTC 2017
Hi
>> diff --git a/arch/arm/mach-omap2/am33xx/board.c
>> b/arch/arm/mach-omap2/am33xx/board.c index 2bfc864..568f36f 100644
>> --- a/arch/arm/mach-omap2/am33xx/board.c
>> +++ b/arch/arm/mach-omap2/am33xx/board.c
>> @@ -327,6 +327,10 @@ void board_init_f(ulong dummy)
>> early_system_init();
>> board_early_init_f();
>> sdram_init();
>> + /* dram_init must store complete ramsize in gd->ram_size */
>> + gd->ram_size = get_ram_size(
>> + (void *)CONFIG_SYS_SDRAM_BASE,
>> + CONFIG_MAX_RAM_BANK_SIZE);
>The above call is a bit strange, since the sdram_init() function sets the DDR (EMIF) controller to use the whole SDRAM available.
>Why one cannot take this info directly from EMIF controller?
Lokesh, Can you comment for am335x ?
Regards
Ravi
More information about the U-Boot
mailing list