Skip to content
Commit 07805f20 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: fix setting PlatformLang



The UEFI variables PlatformLang and PlatformLangCodes specify the current
firmware language and the list of all available languages.

Currently their values are hard coded. With the patch a new configuration
variable EFI_PLATFORM_LANG_CODES is provided.

When initializing the UEFI subsystem this configuration variable is used to
initialize PlatformLangCodes. The value of variable PlatformLang is read.
If it is not set, the first language specified in EFI_PLATFORM_LANG_CODES
is used to initialize PlatformLang.

Suggested-by: default avatarTakahiro Akashi <takahiro.akashi@linaro.org>
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent dc6f3f48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment