[PATCH] cmd: osd: Depend on OSD

Marek Vasut marek.vasut+renesas at mailbox.org
Fri Sep 6 19:12:23 CEST 2024


The OSD command calls functions from video_osd-uclass.o ,
which is built only when CONFIG_OSD is enabled. Add the
missing dependency into Kconfig.

Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 43f78a5aeb1..8d1762c4e11 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1494,6 +1494,7 @@ config USE_ONENAND_BOARD_INIT
 
 config CMD_OSD
 	bool "osd"
+	depends on OSD
 	help
 	  Enable the 'osd' command which allows to query information from and
 	  write text data to a on-screen display (OSD) device; a virtual device
-- 
2.45.2



More information about the U-Boot mailing list