mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 17:26:41 +07:00
cba13830d3
This patch makes it possible to configure away the sched_clock part of the MTU timer. Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: Jonas Aberg <jonas.aberg@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
31 lines
668 B
Plaintext
31 lines
668 B
Plaintext
# We keep common IP's here for Nomadik and other similar
|
|
# familiy of processors from ST-Ericsson. At the moment we have
|
|
# just MTU, others to follow soon.
|
|
|
|
config PLAT_NOMADIK
|
|
bool
|
|
depends on ARCH_NOMADIK || ARCH_U8500
|
|
select CLKSRC_MMIO
|
|
default y
|
|
help
|
|
Common platform code for Nomadik and other ST-Ericsson
|
|
platforms.
|
|
|
|
if PLAT_NOMADIK
|
|
|
|
config HAS_MTU
|
|
bool
|
|
help
|
|
Support for Multi Timer Unit. MTU provides access
|
|
to multiple interrupt generating programmable
|
|
32-bit free running decrementing counters.
|
|
|
|
config NOMADIK_MTU_SCHED_CLOCK
|
|
bool
|
|
depends on HAS_MTU
|
|
select HAVE_SCHED_CLOCK
|
|
help
|
|
Use the Multi Timer Unit as the sched_clock.
|
|
|
|
endif
|