]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootflow: bootmeth_efi: set bflow->fname from bootfile name
authorShantur Rathore <i@shantur.com>
Sun, 19 Nov 2023 16:54:59 +0000 (16:54 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 9 Dec 2023 18:16:08 +0000 (13:16 -0500)
commite31317e161928aadb8941cb63ce49d6faa8002f4
treedfe544378fe8ab442b8fd76d281a3c9069fcc62e
parentc5440a6ae85d0b68e511c1b0b81dc97a3df719e5
bootflow: bootmeth_efi: set bflow->fname from bootfile name

We need to set boot->fname before calling efi_set_bootdev
otherwise this crashes as bflow->fname is null.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Shantur Rathore <i@shantur.com>
boot/bootmeth_efi.c