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>
Link: https://lore.kernel.org/r/20250926153146.3680952-1-trini@konsulko.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
Tom Rini
2025-09-26 09:31:46 -06:00
committed by Michal Simek
parent 145645a9f2
commit a3861c71d5

View File

@@ -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.