]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: Fix disk dp's for pre-DM/legacy devices
authorRob Clark <robdclark@gmail.com>
Sun, 8 Oct 2017 15:33:08 +0000 (11:33 -0400)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Oct 2017 05:00:38 +0000 (07:00 +0200)
commit2538d67d97bb3eb62f0c7abf14b72136927e3545
tree17703f04c94d1c2d03159e932f698fbb65cb317f
parent276c1e2f4455bbf644a50ca68a3e8b936eefb0d8
efi_loader: Fix disk dp's for pre-DM/legacy devices

This fixes an issue with OpenBSD's bootloader, and I think should also
fix a similar issue with grub2 on legacy devices.  In the legacy case
we were creating disk objects for the partitions, but not also the
parent device.

Reported-by: Jonathan Gray <jsg@jsg.id.au>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_disk.c