diff options
| author | Tom Rini <[email protected]> | 2025-09-26 09:31:46 -0600 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2025-10-09 09:07:04 +0200 |
| commit | a3861c71d543d9248f9b747da2b86fff4c89d4e2 (patch) | |
| tree | 32c45063c5ba3ef539100b26f7b96b23105d0027 /drivers/timer | |
| parent | 145645a9f29121c7ee3fb36abe87a9c6dc9f25e3 (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'drivers/timer')
| -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. |
