efi_loader: Setup logical_partition media information
authorEmmanuel Vadot <manu@freebsd.org>
Mon, 11 Dec 2017 18:22:33 +0000 (19:22 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Dec 2017 12:57:02 +0000 (07:57 -0500)
commit5f7708362812dc5c0647cdae4f05a85e57b3cf32
tree05cdfcda96504e3b424d19c5b850de15ab8e6bfe
parent9da71fc83a38e9dbf71240b3e548f6b37417764a
efi_loader: Setup logical_partition media information

When adding a partition, set the logical_partition member in the media
structure as mandated by the UEFI spec.

Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_disk.c