[PATCH] timer: Tighten CADENCE_TTC_TIMER dependencies
Tom Rini
trini at konsulko.com
Fri Sep 26 17:31:46 CEST 2025
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 at konsulko.com>
---
I know that the help says Zynq or ZynqMP but only the ZYNQMP_R5
architecture enables this today. I'm happy to expand this dependency
more however or let someone from AMD v2 this.
Cc: Michal Simek <michal.simek at amd.com>
---
drivers/timer/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index 81c154b378a6..5cac1dcf2be9 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.
--
2.43.0
More information about the U-Boot
mailing list