mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 14:25:56 +00:00
efi_loader: use bootargs as load options
Use environment variable bootargs used as load options for bootefi payloads. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
c2b53902ca
commit
b57f48a87c
1 changed files with 2 additions and 0 deletions
|
@ -218,6 +218,8 @@ static efi_status_t do_bootefi_exec(void *efi, void *fdt,
|
||||||
efi_install_configuration_table(&fdt_guid, NULL);
|
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 */
|
/* Load the EFI payload */
|
||||||
entry = efi_load_pe(efi, &loaded_image_info);
|
entry = efi_load_pe(efi, &loaded_image_info);
|
||||||
if (!entry) {
|
if (!entry) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue