[PATCH 13/16] video: Enable the cls command by default

Simon Glass sjg at chromium.org
Thu Oct 6 16:36:15 CEST 2022


This is enabled for LCD but not for VIDEO. Enable it since it is useful
to be able to clear the screen and adds very little code.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index a512a55c031..30094244fd0 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1915,7 +1915,7 @@ config CMD_CONITRACE
 config CMD_CLS
 	bool "Enable clear screen command 'cls'"
 	depends on DM_VIDEO || LCD || VIDEO
-	default y if LCD
+	default y if LCD || DM_VIDEO
 	help
 	  Enable the 'cls' command which clears the screen contents
 	  on video frame buffer.
-- 
2.38.0.rc1.362.ged0d419d3c-goog



More information about the U-Boot mailing list