Skip to content
Snippets Groups Projects
Commit 279c8283 authored by Vaibhav Hiremath's avatar Vaibhav Hiremath Committed by Sandeep Paulraj
Browse files

AM3517:EMIF4: fix SDRAM size to 256Mb


With addition of "dram_init_banksize()" function from Heiko,Schocher
(commit ID: 561142af), the DRAM size
is getting configured wrongly to 512Mb (CS0 & CS1).
So fix it to 256Mb.

Signed-off-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent aa82d5f2
No related branches found
No related tags found
No related merge requests found
......@@ -48,10 +48,11 @@ u32 is_mem_sdr(void)
*/
u32 get_sdr_cs_size(u32 cs)
{
u32 size;
u32 size = 0;
/* TODO: Calculate the size based on EMIF4 configuration */
size = CONFIG_SYS_CS0_SIZE;
if (cs == CS0)
size = CONFIG_SYS_CS0_SIZE;
return size;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment