]> git.sur5r.net Git - u-boot/commit
efi_loader: correctly setup device paths for block devices
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 11 Dec 2017 11:56:40 +0000 (12:56 +0100)
committerAlexander Graf <agraf@suse.de>
Sat, 16 Dec 2017 22:07:55 +0000 (23:07 +0100)
commit7b982f009b2233821bc96d11bec20b433c40e6fa
tree1fc603f9654a27f087f96a747d1b684a14d6a5f9
parent66b051d51f3f35ab48a8e978a2a28a55b4d13208
efi_loader: correctly setup device paths for block devices

According to the UEFI spec the numbering of partitions has to
start with 1.

Partion number 0 is reserved for the optional device path for
the complete block device.

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