Hi,
Is there a way to detect the size of the RAM connected to the EMIF4 controller ?
Seems possible, looking at the TODO in the actual U-Boot code for the AM3517
u32 get_sdr_cs_size(u32 cs)
{
u32 size;
/* TODO: Calculate the size based on EMIF4 configuration */
size = CONFIG_SYS_CS0_SIZE;
return size;
}
Page size and so on seems to be defined in do_emif4_init(). But is there a number of pages ?
Maybe it's time to remove this TODO :-)
regards
david