mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
clocksource/drivers/prcmu: Fix Kconfig and add COMPILE_TEST option
Let the platform's Kconfig to select the clock instead of having a reverse dependency from the driver to the platform options. Add the COMPILE_TEST option for the compilation test coverage. This change is debatable as the option itself in the Kconfig allows to select the driver for the platform or not. This change will make the prcmu timer always selected. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
7032965306
commit
1becd6edea
2 changed files with 2 additions and 3 deletions
|
@ -32,6 +32,7 @@ config UX500_SOC_DB8500
|
|||
select PINCTRL_AB8540
|
||||
select REGULATOR
|
||||
select REGULATOR_DB8500_PRCMU
|
||||
select CLKSRC_DBX500_PRCMU
|
||||
select PM_GENERIC_DOMAINS if PM
|
||||
|
||||
config MACH_MOP500
|
||||
|
|
|
@ -123,9 +123,7 @@ config CLKSRC_NOMADIK_MTU_SCHED_CLOCK
|
|||
Use the Multi Timer Unit as the sched_clock.
|
||||
|
||||
config CLKSRC_DBX500_PRCMU
|
||||
bool "Clocksource PRCMU Timer"
|
||||
depends on UX500_SOC_DB8500
|
||||
default y
|
||||
bool "Clocksource PRCMU Timer" if COMPILE_TEST
|
||||
help
|
||||
Use the always on PRCMU Timer as clocksource
|
||||
|
||||
|
|
Loading…
Reference in a new issue