summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-10-30 19:58:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-01 11:32:16 +0100
commit88c1f7372f315724cbc3ea183c76a78047420f83 (patch)
tree793f3be896ade9526bf17978b65a97ecd4bcec3f
parent09571f5ff20af42d4e0f1d9e1f7aeb4731be8d0c (diff)
downloadbarebox-88c1f7372f315724cbc3ea183c76a78047420f83.tar.gz
barebox-88c1f7372f315724cbc3ea183c76a78047420f83.tar.xz
clocksource: clint: restrict to RISC-V
The driver now needs access to RISC-V asm/, so drop the COMPILE_TEST option again. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211030175812.2276705-7-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/clocksource/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 7bc69afd78..12a81e627c 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -108,8 +108,8 @@ config RISCV_TIMER
required for all RISC-V systems.
config CLINT_TIMER
- bool "CLINT Timer for the RISC-V platform" if COMPILE_TEST
- depends on OFDEVICE
+ bool "CLINT Timer for the RISC-V platform"
+ depends on RISCV && OFDEVICE
help
This option enables the CLINT timer for RISC-V systems. The CLINT
driver is usually used for NoMMU RISC-V systems.