summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/Kconfig
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2022-01-11 03:55:37 +0100
committerStafford Horne <shorne@gmail.com>2022-01-11 22:13:22 +0100
commit7f435e42fd6b65fd8759963156e1ef0fb7d213f8 (patch)
tree259dd1e56a0352dcc00e0e32f2c7ea2f83bbe8c1 /arch/openrisc/Kconfig
parentopenrisc: Add clone3 ABI wrapper (diff)
downloadlinux-7f435e42fd6b65fd8759963156e1ef0fb7d213f8.tar.xz
linux-7f435e42fd6b65fd8759963156e1ef0fb7d213f8.zip
openrisc: init: Add support for common clk
When testing the new litex_mmc driver it was found to not work on OpenRISC due to missing support for common clk. This patch does the basic initialization to allow OpenRISC to use the common clk framework. Signed-off-by: Stafford Horne <shorne@gmail.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/openrisc/Kconfig')
-rw-r--r--arch/openrisc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index c2491b295d60..f724b3f1aeed 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -10,6 +10,7 @@ config OPENRISC
select ARCH_HAS_DMA_SET_UNCACHED
select ARCH_HAS_DMA_CLEAR_UNCACHED
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
+ select COMMON_CLK
select OF
select OF_EARLY_FLATTREE
select IRQ_DOMAIN