timer: Tighten CADENCE_TTC_TIMER dependencies
PATCH 1/1 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.
---
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.
--- drivers/timer/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/timer/Kconfig +1 -1
@@ -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.
Signature · 1 line
2.43.0
Michal Simek
AppliedQuoted 9 lines · Tom Rini
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]>---
I know that the help says Zynq or ZynqMP but only theZYNQMP_R5architecture enables this today. I'm happy to expand this dependency more however or let someone from AMD v2 this.
I don't have a problem with this because arm64 is using arm timers instead of TTC. If there is a need to use TTC we an fix that dependency.
Applied.
Michal
Quoted 5 lines · Tom Rini
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.
Applied to u-boot/master, thanks!
[1/1] timer: Tighten CADENCE_TTC_TIMER dependencies
commit: 7c2e4487e449b4396531789f1df49ccb8c911952
Signature · 1 line
Tom