projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b5390
)
efi_loader: use bootargs as load options
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 18 Oct 2017 16:13:15 +0000
(18:13 +0200)
committer
Alexander Graf
<agraf@suse.de>
Fri, 1 Dec 2017 12:22:55 +0000
(13:22 +0100)
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>
cmd/bootefi.c
patch
|
blob
|
history
diff --git
a/cmd/bootefi.c
b/cmd/bootefi.c
index
0915192
..
67855ba
100644
(file)
--- 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) {