]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_driver: provide driver binding protocol to bind function
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 4 Oct 2022 17:12:59 +0000 (19:12 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 6 Oct 2022 20:54:57 +0000 (22:54 +0200)
commitec4f675f9ebec2535f2cd050aed7f9c106a5bee9
tree00902bb271904836edf8f45400ed3ce8ac378d36
parent939f204c5a37e87052b1967cbd6971109b7176e7
efi_driver: provide driver binding protocol to bind function

DisconnectController() is based on the open protocol information created
when the driver opens a protocol with BY_CHILD_CONTROLLER or BY_DRIVER.

To create an open protocol information it is required to supply the handle
of the driver as agent handle. This information is available as field
DriverBindingHandle in the driver binding protocol.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_driver.h
lib/efi_driver/efi_block_device.c
lib/efi_driver/efi_uclass.c