summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-16 19:24:46 -0600
committerMichal Simek <[email protected]>2026-03-23 14:58:47 +0100
commitc54a0a8ed901eff9e3e458dd3cc49da565753357 (patch)
tree856fccd5037f66d31fcda4517049ace90e759fee
parent07de5c1e0199b98c9d164482fd2ca0c1fc12be2d (diff)
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 <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/timer/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index a84a0dc0539..9ffda4aca86 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -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).