]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: variables PlatformLang and PlatformLangCodes
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 5 Apr 2019 00:45:21 +0000 (02:45 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 7 Apr 2019 12:17:06 +0000 (14:17 +0200)
commit55074a22cae5f8376bbe4c3ce9d935e339d16781
tree0a4182c27043d4cd057f9b7978ae292cf96f1862
parent8ec9cf1648c490cf03d2f01a93e20329374a2898
efi_loader: variables PlatformLang and PlatformLangCodes

Since TianoCore EDK2 commit d65f2cea36d1 ("ShellPkg/CommandLib: Locate
proper UnicodeCollation instance") in edk2 the UEFI Shell crashes if EFI
variable PlatformLang is not defined.

As this variable is anyway prescribed in the UEFI 2.7 spec let's define it
to L"en-US". Use the same value for PlatformLangCodes that defines the list
of all supported languages.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_setup.c