summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-01-06 08:52:29 -0600
committerTom Rini <[email protected]>2023-01-16 18:26:50 -0500
commit72a0dd8bed010bef78028ae528763f9807758e6b (patch)
tree1b35000f574ef4047f4695db478ada5b475e5caa
parent30f3333d8860fd97e131e24ad33a80f4d46e98b1 (diff)
video: Enable VIDEO_ANSI by default only with EFI
This is not generally needed unless EFI_LOADER is used. Adjust the default setting to reduce the size of the U-Boot build. Signed-off-by: Simon Glass <[email protected]>
-rw-r--r--drivers/video/Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index f539977d9b7..440b161b842 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -112,10 +112,13 @@ config VIDEO_BPP32
config VIDEO_ANSI
bool "Support ANSI escape sequences in video console"
- default y
+ default y if EFI_LOADER
help
Enable ANSI escape sequence decoding for a more fully functional
- console.
+ console. Functionality includes changing the text colour and moving
+ the cursor. These date from the 1970s and are still widely used today
+ to control a text terminal. U-Boot implements these by decoding the
+ sequences and performing the appropriate operation.
config VIDEO_MIPI_DSI
bool "Support MIPI DSI interface"