]> git.baikalelectronics.ru Git - uboot.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)
commit366fc02cfca0c86267b9fbc6299faa467a868637
tree00902bb271904836edf8f45400ed3ce8ac378d36
parent90bdf1dd52997652fe45bd0d6a363007c86fd770
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