Commit 78e8c376 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Fix typo in SRAM detection, change to use cpu_is_omap15xx()

Fixed a typo in SRAM detection for 330 and changed the detection
to use cpu_is_omap15xx() as noted by Gonzales Laurent.
parent dc6aaa57
......@@ -42,10 +42,8 @@ void __init omap_detect_sram(void)
omap_sram_base = OMAP1_SRAM_BASE;
if (cpu_is_omap730())
omap_sram_size = 0x30000;
else if (cpu_is_omap730())
omap_sram_size = 0x32000;
else if (cpu_is_omap1510())
else if (cpu_is_omap15xx())
omap_sram_size = 0x30000;
else if (cpu_is_omap1610() || cpu_is_omap1621() || cpu_is_omap1710())
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