[PATCH] video: Add SPL_VIDEO_SYNC_CYCLIC_MS symbol

Tom Rini trini at konsulko.com
Wed Oct 1 22:30:44 CEST 2025


When compiling video-uclass.c for SPL and with SPL_CYCLIC enabled, we
also need to know SPL_VIDEO_SYNC_CYCLIC_MS as a value. This is most
easily resolved by adding a symbol to set this to the value of
VIDEO_SYNC_CYCLIC_MS as one shouldn't ever need these to differ.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/video/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 0fc1c161541e..d8c58086eb48 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -285,6 +285,11 @@ config VIDEO_SYNC_CYCLIC_MS
 	  improves the responsiveness of the command line to new characters
 	  being entered.
 
+config SPL_VIDEO_SYNC_CYCLIC_MS
+	int
+	depends on VIDEO_SYNC_CYCLIC_MS > 0
+	default VIDEO_SYNC_CYCLIC_MS
+
 config PANEL
 	bool "Enable panel uclass support"
 	default y
-- 
2.43.0



More information about the U-Boot mailing list