]> git.baikalelectronics.ru Git - uboot.git/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)
commit0b78234bcac7b0f2ec3c1ebf0fac309269d0489a
tree1fc603f9654a27f087f96a747d1b684a14d6a5f9
parent7ef93b6d4f33352bbc2dc31ecd7189b57b4143ae
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