aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2021-11-12 18:44:13 +0000
committerDaniel Lezcano <[email protected]>2021-12-09 14:05:20 +0100
commita2807f657976b943bf0eb81d026398d28aa89863 (patch)
treea1ebf0ec0cb5ceed068ba3def87e68b1b21ef0a5
parent3a3e9f23c2cae907677a236fa547610ca747e6fb (diff)
clocksource/drivers/renesas,ostm: Make RENESAS_OSTM symbol visible
As RZ/G2L uses the ARM Architected Timer as system timer, enabling the OSTM is not mandatory. Make RENESAS_OSTM symbol visible, so that user can enable it when needed. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
-rw-r--r--drivers/clocksource/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index f65e31bab9ae..821ea4aa5c86 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -510,7 +510,8 @@ config SH_TIMER_MTU2
This hardware comes with 16-bit timer registers.
config RENESAS_OSTM
- bool "Renesas OSTM timer driver" if COMPILE_TEST
+ bool "Renesas OSTM timer driver"
+ depends on ARCH_RENESAS || COMPILE_TEST
select CLKSRC_MMIO
select TIMER_OF
help