]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
timer: Correct Kconfig entry for XILINX_TIMER
authorTom Rini <trini@konsulko.com>
Tue, 17 Mar 2026 01:24:46 +0000 (19:24 -0600)
committerMichal Simek <michal.simek@amd.com>
Mon, 23 Mar 2026 13:58:47 +0000 (14:58 +0100)
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
drivers/timer/Kconfig

index a84a0dc05396af19c251d0cca4e533138edfd2a7..9ffda4aca86d870e1f6a5396522f9676f8e06951 100644 (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).