]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: link partition to block device
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 10 Jan 2020 11:36:01 +0000 (12:36 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Dec 2020 08:15:33 +0000 (09:15 +0100)
commit82b4ca5694f6dad1137e84aaf6b6a717f53fa30e
tree10a493992781507bcd885b3cb8d747935f0fa93e
parentd36c0803302d8e44cc927162d19de5e800de0403
efi_loader: link partition to block device

We provide a UEFI driver for block devices. When ConnectController() is
called for a handle with the EFI_BLOCK_IO_PROTOCOL this driver creates the
partitions. When DisconnectController() is called the handles for the
partitions have to be deleted. This requires that the child controllers
(partitions) open the EFI_BLOCK_IO_PROTOCOL of the controller (block IO
device) with attribute EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_disk.c