[PATCH] timer: Correct dependencies for SPL_TIMER

Tom Rini trini at konsulko.com
Tue Mar 17 02:24:44 CET 2026


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.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/timer/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index a84a0dc05396..24c141c60ae9 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -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
-- 
2.43.0



More information about the U-Boot mailing list