Skip to content

Commit 63e6036

Browse files
alexandrebellonimripard
authored andcommitted
ARM: at91: select ATMEL_SDRAMC when using OF
When using device tree, select the Atmel RAM controller driver to handle its clocks. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
1 parent e81b6ab commit 63e6036

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎arch/arm/mach-at91/Kconfig‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ config SOC_AT91SAM9
4949
select GENERIC_CLOCKEVENTS
5050
select MULTI_IRQ_HANDLER
5151
select SPARSE_IRQ
52+
select MEMORY if USE_OF
53+
select ATMEL_SDRAMC if USE_OF
5254

5355
config SOC_SAMA5
5456
bool
@@ -58,6 +60,8 @@ config SOC_SAMA5
5860
select MULTI_IRQ_HANDLER
5961
select SPARSE_IRQ
6062
select USE_OF
63+
select MEMORY
64+
select ATMEL_SDRAMC
6165

6266
menu "Atmel AT91 System-on-Chip"
6367

0 commit comments

Comments
 (0)