diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2021-11-12 18:44:13 +0000 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-12-09 14:05:20 +0100 |
commit | a2807f657976b943bf0eb81d026398d28aa89863 (patch) | |
tree | a1ebf0ec0cb5ceed068ba3def87e68b1b21ef0a5 /drivers/clocksource | |
parent | 3a3e9f23c2cae907677a236fa547610ca747e6fb (diff) | |
download | linux-stable-a2807f657976b943bf0eb81d026398d28aa89863.tar.gz linux-stable-a2807f657976b943bf0eb81d026398d28aa89863.tar.bz2 linux-stable-a2807f657976b943bf0eb81d026398d28aa89863.zip |
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 <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20211112184413.4391-5-biju.das.jz@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/Kconfig | 3 |
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 |