summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5/sdram_autogating.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx5/sdram_autogating.c')
-rw-r--r--arch/arm/mach-mx5/sdram_autogating.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/sdram_autogating.c b/arch/arm/mach-mx5/sdram_autogating.c
index fa9f0ccfe283..0b05d791c4f9 100644
--- a/arch/arm/mach-mx5/sdram_autogating.c
+++ b/arch/arm/mach-mx5/sdram_autogating.c
@@ -80,6 +80,8 @@ int sdram_autogating_active()
void start_sdram_autogating()
{
+ if (cpu_is_mx50())
+ return;
if (sdram_autogating_paused) {
enable();
sdram_autogating_paused = 0;
@@ -88,6 +90,9 @@ void start_sdram_autogating()
void stop_sdram_autogating()
{
+ if (cpu_is_mx50())
+ return;
+
if (sdram_autogating_is_active) {
sdram_autogating_paused = 1;
disable();