summaryrefslogtreecommitdiff
path: root/include/android_bootloader_message.h
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2026-03-18 15:24:52 +0100
committerHeinrich Schuchardt <[email protected]>2026-04-17 08:04:43 +0200
commit0c3eb097d9e827e21fdde7e6379f1a396db41da6 (patch)
tree475e15a20550c93435d12fd0a48f30c8e539f988 /include/android_bootloader_message.h
parent353166279c32216697025b80df83fc260155251d (diff)
efi_loader: Allow disabling ANSI console queries via Kconfig
Commit 4cb724364030 ("efi_loader: Disable ANSI output for tests") introduced efi_console_set_ansi() to suppress ANSI escape sequences during unit tests. Extend this mechanism to be configurable via a new Kconfig option CONFIG_EFI_CONSOLE_DISABLE_ANSI. When CONFIG_EFI_CONSOLE_DISABLE_ANSI is enabled, efi_console_set_ansi(false) is called at the start of efi_setup_console_size(). This prevents query_console_serial() from sending ANSI escape sequences to the terminal, using default 25x80 dimensions instead. This is useful for platforms where the serial console cannot handle ANSI queries. Signed-off-by: Michal Simek <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'include/android_bootloader_message.h')
0 files changed, 0 insertions, 0 deletions