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 <sjg@chromium.org>
This commit is contained in:
Simon Glass
2023-01-16 18:26:50 -05:00
committed by Tom Rini
parent 30f3333d88
commit 72a0dd8bed
+5 -2
View File
@@ -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"