[PATCH] timer: Correct Kconfig entry for XILINX_TIMER

Michal Simek michal.simek at amd.com
Tue Mar 17 12:50:34 CET 2026



On 3/17/26 02:24, Tom Rini wrote:
> 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 at konsulko.com>
> ---
> Cc: Michal Simek <michal.simek at amd.com>
> ---
>   drivers/timer/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
> index 24c141c60ae9..500a25638a96 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).

Applied.
M


More information about the U-Boot mailing list