[PATCH 05/12] ARM: at91: move select SRAM to ARCH_AT91

Wenyou Yang wenyou.yang at atmel.com
Tue Jan 20 00:16:58 PST 2015


Because the CONFIG_AT91_SLOW_CLOCK will be removed
to simply the PM config, so move select SRAM.

Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
---
 arch/arm/mach-at91/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 56dcede..7d5e201 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -6,6 +6,7 @@ config ARCH_AT91
 	select PINCTRL
 	select PINCTRL_AT91
 	select USE_OF
+	select SRAM if PM
 	bool
 
 menuconfig SOC_SAM_V7
@@ -128,7 +129,6 @@ comment "AT91 Feature Selections"
 
 config AT91_SLOW_CLOCK
 	bool "Suspend-to-RAM disables main oscillator"
-	select SRAM
 	depends on SUSPEND
 	help
 	  Select this if you want Suspend-to-RAM to save the most power
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list