[PATCH 6/9] clocksource: clint: restrict to RISC-V
Ahmad Fatoum
a.fatoum at pengutronix.de
Sat Oct 30 10:58:09 PDT 2021
The driver now needs access to RISC-V asm/, so drop the COMPILE_TEST
option again.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
drivers/clocksource/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 181b48280feb..951580a2e76e 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -109,8 +109,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.
--
2.30.2
More information about the barebox
mailing list