[PATCHv2 3/6] ARM: at91: select ATMEL_SDRAMC when using OF
Alexandre Belloni
alexandre.belloni at free-electrons.com
Tue Jul 8 09:21:13 PDT 2014
When using device tree, select the Atmel RAM controller driver to handle its
clocks.
Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
---
arch/arm/mach-at91/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 45b55e0f0db6..7a69ffd93b6b 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -49,6 +49,8 @@ config SOC_AT91SAM9
select GENERIC_CLOCKEVENTS
select MULTI_IRQ_HANDLER
select SPARSE_IRQ
+ select MEMORY if USE_OF
+ select ATMEL_SDRAMC if USE_OF
config SOC_SAMA5
bool
@@ -58,6 +60,8 @@ config SOC_SAMA5
select MULTI_IRQ_HANDLER
select SPARSE_IRQ
select USE_OF
+ select MEMORY
+ select ATMEL_SDRAMC
menu "Atmel AT91 System-on-Chip"
--
1.9.1
More information about the linux-arm-kernel
mailing list