timer: Correct Kconfig entry for XILINX_TIMER

As exposed by "make randconfig", we have an issue with the dependencies
for XILINX_TIMER. This symbol is a case where we have one that covers
both main U-Boot and SPL. In this case, we need to select SPL_REGMAP not
when SPL is enabled but rather when SPL_TIMER is enabled (and in turn,
SPL_DM).

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20260317012446.4162630-1-trini@konsulko.com
This commit is contained in:
Tom Rini
2026-03-23 14:58:47 +01:00
committed by Michal Simek
parent 07de5c1e01
commit c54a0a8ed9
+1 -1
View File
@@ -328,7 +328,7 @@ config XILINX_TIMER
bool "Xilinx timer support"
depends on TIMER
select REGMAP
select SPL_REGMAP if SPL
select SPL_REGMAP if SPL_TIMER
help
Select this to enable support for the timer found on
any Xilinx boards (axi timer).