timer: Correct Kconfig entry for XILINX_TIMER
PATCH 1/1 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).
---
Cc: Michal Simek <[email protected]>
--- drivers/timer/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/timer/Kconfig +1 -1
@@ -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).
Signature · 1 line
2.43.0
Michal Simek
AppliedQuoted 18 lines · Tom Rini
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 selectSPL_REGMAPnot when SPL is enabled but rather whenSPL_TIMERis enabled (and in turn,SPL_DM).Signed-off-by Tom Rini <[email protected]>---
Cc: Michal Simek <[email protected]>--- drivers/timer/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/timer/Kconfig +0
-0
drivers/timer/Kconfig config XILINX_TIMER · line 334
Quoted 8 lines
drivers/timer/Kconfig +1
-1@@ -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