From: Heinrich Schuchardt Date: Wed, 18 Oct 2017 16:13:15 +0000 (+0200) Subject: efi_loader: use bootargs as load options X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=b57f48a87c980cbd7dc788c82e8bb513666dd6f6;p=u-boot.git efi_loader: use bootargs as load options Use environment variable bootargs used as load options for bootefi payloads. Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/cmd/bootefi.c b/cmd/bootefi.c index 0915192bbb..67855ba685 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -218,6 +218,8 @@ static efi_status_t do_bootefi_exec(void *efi, void *fdt, efi_install_configuration_table(&fdt_guid, NULL); } + /* Transfer environment variable bootargs as load options */ + set_load_options(&loaded_image_info, "bootargs"); /* Load the EFI payload */ entry = efi_load_pe(efi, &loaded_image_info); if (!entry) {