summaryrefslogtreecommitdiffstats
path: root/arch/nios2/Kconfig
diff options
context:
space:
mode:
authorDragos Bogdan <dragos.bogdan@analog.com>2020-04-10 23:38:23 +0800
committerLey Foon Tan <ley.foon.tan@intel.com>2020-04-11 01:45:28 +0800
commitf26e433185cb2830b933df3a4d378558fe2fccd9 (patch)
treef7f14a1575b4400f6008909a378265e39ff88c08 /arch/nios2/Kconfig
parent7111951b8d4973bda27ff663f2cf18b663d15b48 (diff)
downloadlinux-f26e433185cb2830b933df3a4d378558fe2fccd9.tar.bz2
arch: nios2: Enable the common clk subsystem on Nios2
This patch adds support for common clock framework on Nios2. Clock framework is commonly used in many drivers, and this patch makes it available for the entire architecture, not just on a per-driver basis. Signed-off-by: Beniamin Bia <beniamin.bia@analog.com> Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'arch/nios2/Kconfig')
-rw-r--r--arch/nios2/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
index 44b5da37e8bd..4b7c951e80e2 100644
--- a/arch/nios2/Kconfig
+++ b/arch/nios2/Kconfig
@@ -6,6 +6,7 @@ config NIOS2
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
select ARCH_HAS_UNCACHED_SEGMENT
select ARCH_NO_SWAP
+ select COMMON_CLK
select TIMER_OF
select GENERIC_ATOMIC64
select GENERIC_CLOCKEVENTS