The driver now needs access to RISC-V asm/, so drop the COMPILE_TEST
option again.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 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


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to