diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-10-30 19:58:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-11-01 11:32:16 +0100 |
commit | 88c1f7372f315724cbc3ea183c76a78047420f83 (patch) | |
tree | 793f3be896ade9526bf17978b65a97ecd4bcec3f | |
parent | 09571f5ff20af42d4e0f1d9e1f7aeb4731be8d0c (diff) | |
download | barebox-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/Kconfig | 4 |
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. |