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 <[email protected]> --- Cc: Simon Glass <[email protected]> Cc: Tom Rini <[email protected]> Cc: [email protected] --- 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

