From: Heinrich Schuchardt Date: Mon, 11 Dec 2017 19:10:20 +0000 (+0100) Subject: efi_loader: use wide string do define firmware vendor X-Git-Tag: v2018.03-rc1~101^2~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=05b6f56ead11f6a530b0cbdbd60e45f3b3cfcb07;p=u-boot efi_loader: use wide string do define firmware vendor As the U-Boot is compiled with -fshort-wchar we can define the firmware vendor constant as wide string. Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index b90bd0b426..02bc9fdcf0 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -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 = {