[PATCH 1/3] ARM: at91: pm: add the socs support the DDRC controller
From: Wenyou Yang
Date: Mon Mar 17 2014 - 22:41:02 EST
socs: at91sam9x5, at91sam9n12, sama5d3
Signed-off-by: Wenyou Yang <wenyou.yang@xxxxxxxxx>
---
arch/arm/mach-at91/pm.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c
index 8bda1ce..7280d09 100644
--- a/arch/arm/mach-at91/pm.c
+++ b/arch/arm/mach-at91/pm.c
@@ -238,7 +238,10 @@ static int at91_pm_enter(suspend_state_t state)
if (cpu_is_at91rm9200())
memctrl = AT91_MEMCTRL_MC;
- else if (cpu_is_at91sam9g45())
+ else if (cpu_is_at91sam9g45()
+ || cpu_is_at91sam9x5()
+ || cpu_is_at91sam9n12()
+ || cpu_is_sama5d3())
memctrl = AT91_MEMCTRL_DDRSDR;
#ifdef CONFIG_AT91_SLOW_CLOCK
/* copy slow_clock handler to SRAM, and call it */
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/