diff options
author | Tom Rini <trini@konsulko.com> | 2025-09-26 09:31:46 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-10-08 16:13:08 -0600 |
commit | 7c2e4487e449b4396531789f1df49ccb8c911952 (patch) | |
tree | ec8e35a73f32fe93754f212d11b05a0daecac5f9 | |
parent | af4acc7186fac32b69e2a0ad5e1ffb4677bfa825 (diff) |
timer: Tighten CADENCE_TTC_TIMER dependencies
This driver implements timer_get_boot_us() which is global namespace and
can conflict with other implementations of the function for example in
"allyesconfig". Start by limiting this driver to platforms which use it.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/timer/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig index 81c154b378a..5cac1dcf2be 100644 --- a/drivers/timer/Kconfig +++ b/drivers/timer/Kconfig @@ -147,7 +147,7 @@ config SPL_ATMEL_TCB_TIMER config CADENCE_TTC_TIMER bool "Cadence TTC (Triple Timer Counter)" - depends on TIMER + depends on TIMER && ARCH_ZYNQMP_R5 help Enables support for the cadence ttc driver. This driver is present on Xilinx Zynq and ZynqMP SoCs. |