]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: correctly determine the boot partition
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 3 Apr 2018 20:40:55 +0000 (22:40 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 4 Apr 2018 11:14:33 +0000 (13:14 +0200)
commit2db1eba1c3717856ebcf01727379ad2d3f19b3cc
tree9da7ea580209fac8f8825bdf565c00a6c970b744
parentb6dd57773719bfcea6a295973c349b7842870337
efi_loader: correctly determine the boot partition

The device path of the loaded image should be set to the partition
from which the image was loaded. This requires using the same logic as
the load command.

Without the patch the device path pointed to the whole disk after executing

load mmc 0: 0x43000000 FILE

and not to the boot partition from which the file was actually loaded.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c