Skip to contentSkip to conversation

video: Add SPL_VIDEO_SYNC_CYCLIC_MS symbol

PATCH In review Tom Rini 1 participant 2 messages Oct 1, 2025 – Oct 3, 2025 Framebuffer layer

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 video: Add SPL_VIDEO_SYNC_CYCLIC_MS symbol

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.

---
 drivers/video/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)
drivers/video/Kconfig +5 -0
index 0fc1c161541e..d8c58086eb48 100644
@@ -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
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 9 lines · Tom Rini

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.

---
 drivers/video/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

Given that I've decided to go in the direction of not aiming for "allyesconfig" to support SPL right now, I'm going to defer this patch. It can be picked up later if needed.

Signature · 1 line
Tom