]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: use wide string do define firmware vendor
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 11 Dec 2017 19:10:20 +0000 (20:10 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:12 +0000 (23:09 +0100)
As the U-Boot is compiled with -fshort-wchar we can define
the firmware vendor constant as wide string.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c

index b90bd0b426f8bc50530e6291114ae4b4e4f6216b..02bc9fdcf056c6cd68178be049663ddc94326bfa 100644 (file)
@@ -2201,8 +2201,7 @@ static const struct efi_boot_services efi_boot_services = {
 };
 
 
-static uint16_t __efi_runtime_data firmware_vendor[] =
-       { 'D','a','s',' ','U','-','b','o','o','t',0 };
+static uint16_t __efi_runtime_data firmware_vendor[] = L"Das U-Boot";
 
 struct efi_system_table __efi_runtime_data systab = {
        .hdr = {