[PATCH] video: Only build bridge code for the appropriate phase

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


At this time, we can't make use of the video bridge code in xPL, and
there is no symbol to enable it. Start by only descending to this
directory when support in the future is enabled.

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

diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index 984768ea156d..81164fea40cd 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -90,6 +90,6 @@ obj-$(CONFIG_VIDEO_VESA) += vesa.o
 obj-$(CONFIG_VIDEO_SEPS525) += seps525.o
 obj-$(CONFIG_VIDEO_ZYNQMP_DPSUB) += zynqmp/
 
-obj-y += bridge/
+obj-$(CONFIG_$(PHASE_)VIDEO_BRIDGE) += bridge/
 obj-y += sunxi/
 obj-y += tegra/
-- 
2.43.0



More information about the U-Boot mailing list