
14 Nov
2023
14 Nov
'23
1:48 a.m.
efi_set_bootdev is already called as part of tftp while doing dhcp_run() Doing this again crashes U-boot and we don't need to call again.
Signed-off-by: Shantur Rathore i@shantur.com --- boot/bootmeth_efi.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c index ad3f4330da..a65d8ff582 100644 --- a/boot/bootmeth_efi.c +++ b/boot/bootmeth_efi.c @@ -359,9 +359,6 @@ static int distro_efi_read_bootflow_net(struct bootflow *bflow) return log_msg_ret("sz", -EINVAL); bflow->size = size;
- /* do the hideous EFI hack */ - efi_set_bootdev("Net", "", bflow->fname, map_sysmem(addr, 0), - bflow->size);
/* read the DT file also */ fdt_addr_str = env_get("fdt_addr_r");
--
2.40.1