]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_driver: add init function to EFI block driver
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 5 Oct 2022 09:28:47 +0000 (11:28 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 6 Oct 2022 20:54:58 +0000 (22:54 +0200)
commit8f8fe1d458664aaa15fa82de78dfdb0eca74b2ca
tree4ce4f091b1cfe1c427de7d32f6e1e406d5f52d41
parentec4f675f9ebec2535f2cd050aed7f9c106a5bee9
efi_driver: add init function to EFI block driver

For handling added and removed block devices we need to register events
which has to be done when the driver is installed.

This patch only creates an empty init function that will be filled with
code later on. The function needs to be called before any EFI block devices
are used. Move the efi_driver_init() call to early init.

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
lib/efi_loader/efi_setup.c