]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
timer: Tighten CADENCE_TTC_TIMER dependencies
authorTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 15:31:46 +0000 (09:31 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 8 Oct 2025 22:13:08 +0000 (16:13 -0600)
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>
drivers/timer/Kconfig

index 81c154b378a615fa4c175cc3b3d392a2d6ca9c72..5cac1dcf2be93ab2baeb57620c4b87a67aadae77 100644 (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.