Commit 5cc87a4d authored by Daniel Lezcano's avatar Daniel Lezcano

clocksource/drivers/versatile: Add the COMPILE_TEST option

Change the Kconfig option logic to fullfil with the current approach,
allowing the user to compile the driver on different platforms.

The current option let the user to select the clocksource or not.

The Kconfig option policy is to let the platform to select the
timer automatically.

Add the COMPILE_TEST option, so the prompt to select the driver will
be showed only when COMPILE_TEST is set and will let this driver
to compile on different platform, thus increasing the compilation
test coverage.
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent b988d3f0
...@@ -453,8 +453,8 @@ config CLKSRC_QCOM ...@@ -453,8 +453,8 @@ config CLKSRC_QCOM
Qualcomm SoCs. Qualcomm SoCs.
config CLKSRC_VERSATILE config CLKSRC_VERSATILE
bool "ARM Versatile (Express) reference platforms clock source" bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST
depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
select CLKSRC_OF select CLKSRC_OF
default y if MFD_VEXPRESS_SYSREG default y if MFD_VEXPRESS_SYSREG
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment