Commit ee62e93a authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP1: Set the omap1623 sram size to 16K

Now that we're always reprogramming the core clock we must make
sure SRAM works. It seems that neither omap1621 or omap1623
has 256K of SRAM. Set the SRAM size to safe value of 16K.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 6560ee07
...@@ -141,11 +141,9 @@ static void __init omap_detect_sram(void) ...@@ -141,11 +141,9 @@ static void __init omap_detect_sram(void)
omap_sram_size = 0x32000; /* 200K */ omap_sram_size = 0x32000; /* 200K */
else if (cpu_is_omap15xx()) else if (cpu_is_omap15xx())
omap_sram_size = 0x30000; /* 192K */ omap_sram_size = 0x30000; /* 192K */
else if (cpu_is_omap1610() || cpu_is_omap1621() || else if (cpu_is_omap1610() || cpu_is_omap1611() ||
cpu_is_omap1710()) cpu_is_omap1621() || cpu_is_omap1710())
omap_sram_size = 0x4000; /* 16K */ omap_sram_size = 0x4000; /* 16K */
else if (cpu_is_omap1611())
omap_sram_size = SZ_256K;
else { else {
pr_err("Could not detect SRAM size\n"); pr_err("Could not detect SRAM size\n");
omap_sram_size = 0x4000; omap_sram_size = 0x4000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment