From: Heinrich Schuchardt Date: Wed, 18 Oct 2017 16:13:15 +0000 (+0200) Subject: efi_loader: use bootargs as load options X-Git-Tag: v2018.01-rc2~58^2~57 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b57f48a87c980cbd7dc788c82e8bb513666dd6f6;p=oweals%2Fu-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) {