diff options
Diffstat (limited to 'arch/arm/mach-omap2/sdrc2xxx.c')
-rw-r--r-- | arch/arm/mach-omap2/sdrc2xxx.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/sdrc2xxx.c b/arch/arm/mach-omap2/sdrc2xxx.c index 0f4d27aef44d..ccdb010f169d 100644 --- a/arch/arm/mach-omap2/sdrc2xxx.c +++ b/arch/arm/mach-omap2/sdrc2xxx.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <plat/clock.h> | 28 | #include <plat/clock.h> |
29 | #include <plat/sram.h> | 29 | #include <plat/sram.h> |
30 | 30 | ||
31 | #include "prm.h" | 31 | #include "prm2xxx_3xxx.h" |
32 | #include "clock.h" | 32 | #include "clock.h" |
33 | #include <plat/sdrc.h> | 33 | #include <plat/sdrc.h> |
34 | #include "sdrc.h" | 34 | #include "sdrc.h" |
@@ -99,6 +99,10 @@ u32 omap2xxx_sdrc_reprogram(u32 level, u32 force) | |||
99 | m_type = omap2xxx_sdrc_get_type(); | 99 | m_type = omap2xxx_sdrc_get_type(); |
100 | 100 | ||
101 | local_irq_save(flags); | 101 | local_irq_save(flags); |
102 | /* | ||
103 | * XXX These calls should be abstracted out through a | ||
104 | * prm2xxx.c function | ||
105 | */ | ||
102 | if (cpu_is_omap2420()) | 106 | if (cpu_is_omap2420()) |
103 | __raw_writel(0xffff, OMAP2420_PRCM_VOLTSETUP); | 107 | __raw_writel(0xffff, OMAP2420_PRCM_VOLTSETUP); |
104 | else | 108 | else |