diff options
author | Tom Rini <trini@konsulko.com> | 2021-03-07 19:43:00 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-07 19:43:00 -0500 |
commit | 90964ab5acb29ec6617a9ff340886230b2fce8c7 (patch) | |
tree | fab87d3307e5c4902c07ff4ab630a9a709bc6daa /lib/efi_loader/efi_console.c | |
parent | e4dba4ba6f61e8128be0b4200ca2d8cebf62180b (diff) | |
parent | 7d3eff3412886f277c724a9effcbe545c4cdd5b5 (diff) |
Merge tag 'efi-2021-04-rc3-3' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2021-04-rc3-3
New:
* Provide library functions for converting UTF-8 streams either to code
page 437 or Unicode code points.
Bug fixes:
* Fix the capsule update unit tests.
* Use the terminal size of the video console if it is the primary output.
Diffstat (limited to 'lib/efi_loader/efi_console.c')
-rw-r--r-- | lib/efi_loader/efi_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index edcfce7bec..c4003554c2 100644 --- a/lib/efi_loader/efi_console.c +++ b/lib/efi_loader/efi_console.c @@ -311,7 +311,7 @@ static void query_console_size(void) const char *stdout_name = env_get("stdout"); int rows = 25, cols = 80; - if (stdout_name && !strcmp(stdout_name, "vidconsole") && + if (stdout_name && !strncmp(stdout_name, "vidconsole", 10) && IS_ENABLED(CONFIG_DM_VIDEO)) { struct stdio_dev *stdout_dev = stdio_get_by_name("vidconsole"); |