Skip to contentSkip to conversation

timer: Correct dependencies for SPL_TIMER

PATCH In review Tom Rini 1 participant 2 messages Mar 17 – Mar 30

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 timer: Correct dependencies for SPL_TIMER

As exposed by "make randconfig", we have an issue with the dependencies for SPL_TIMER. This depends not just on SPL but also SPL_DM to function, so add that.

---
 drivers/timer/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/timer/Kconfig +1 -1
index a84a0dc05396..24c141c60ae9 100644
@@ -11,7 +11,7 @@ config TIMER
 
 config SPL_TIMER
 	bool "Enable driver model for timer drivers in SPL"
-	depends on TIMER && SPL
+	depends on TIMER && SPL && SPL_DM
 	help
 	  Enable support for timer drivers in SPL. These can be used to get
 	  a timer value when in SPL, or perhaps for implementing a delay
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 5 lines · Tom Rini

As exposed by "make randconfig", we have an issue with the dependencies for SPL_TIMER. This depends not just on SPL but also SPL_DM to function, so add that.

Applied to u-boot/next, thanks!

[1/1] timer: Correct dependencies for SPL_TIMER

      commit: 5c4357e902674a87182b1652739062040f7a6450
Signature · 1 line
Tom