[U-Boot] [PATCH 1/1] video: if EFI_LOADER is enabled, enable CFB_CONSOLE_ANSI

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Apr 29 20:43:57 UTC 2018


EFI applications like GRUB issue ANSI sequences for setting colors
and for positioning. So if the EFI subsystem is enabled, we should
also enable ANSI control sequences by default.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 drivers/video/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 2fc0defcd0..343ef31031 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -557,6 +557,7 @@ config CFB_CONSOLE
 config CFB_CONSOLE_ANSI
 	bool "Support ANSI escape sequences"
 	depends on CFB_CONSOLE
+	default y if EFI_LOADER
 	help
 	  This allows the colour buffer frame buffer driver to support
 	  a limited number of ANSI escape sequences (cursor control,
-- 
2.11.0



More information about the U-Boot mailing list