diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-11-15 13:58:31 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-02-23 03:26:41 -0500 |
commit | 1a269ade22bb65d0afc0d20e0a19602453fae04a (patch) | |
tree | daeb2b7a7f4d0d01ea16824d1d64bba34a339004 /arch/arm/mach-at91/pm_slowclock.S | |
parent | 8ff12ad3df62ee343d5f5ec29572b9d2c5c2cedd (diff) |
ARM: at91: move at91rm9200 sdramc defines to at91rm9200_sdramc.h
This cleanup is done to allow to have multiple SoC in the same image.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/pm_slowclock.S')
-rw-r--r-- | arch/arm/mach-at91/pm_slowclock.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/pm_slowclock.S b/arch/arm/mach-at91/pm_slowclock.S index e31a5f222d86..aee0b2c9ff45 100644 --- a/arch/arm/mach-at91/pm_slowclock.S +++ b/arch/arm/mach-at91/pm_slowclock.S | |||
@@ -18,6 +18,7 @@ | |||
18 | 18 | ||
19 | #if defined(CONFIG_ARCH_AT91RM9200) | 19 | #if defined(CONFIG_ARCH_AT91RM9200) |
20 | #include <mach/at91rm9200_mc.h> | 20 | #include <mach/at91rm9200_mc.h> |
21 | #include <mach/at91rm9200_sdramc.h> | ||
21 | #elif defined(CONFIG_ARCH_AT91SAM9G45) | 22 | #elif defined(CONFIG_ARCH_AT91SAM9G45) |
22 | #include <mach/at91sam9_ddrsdr.h> | 23 | #include <mach/at91sam9_ddrsdr.h> |
23 | #else | 24 | #else |
@@ -131,7 +132,7 @@ ENTRY(at91_slow_clock) | |||
131 | #ifdef CONFIG_ARCH_AT91RM9200 | 132 | #ifdef CONFIG_ARCH_AT91RM9200 |
132 | /* Put SDRAM in self-refresh mode */ | 133 | /* Put SDRAM in self-refresh mode */ |
133 | mov tmp1, #1 | 134 | mov tmp1, #1 |
134 | str tmp1, [sdramc, #AT91_SDRAMC_SRR] | 135 | str tmp1, [sdramc, #AT91RM9200_SDRAMC_SRR] |
135 | #elif defined(CONFIG_ARCH_AT91SAM9G45) | 136 | #elif defined(CONFIG_ARCH_AT91SAM9G45) |
136 | 137 | ||
137 | /* prepare for DDRAM self-refresh mode */ | 138 | /* prepare for DDRAM self-refresh mode */ |