]> git.baikalelectronics.ru Git - uboot.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)
commit011ba98e5a3b0626b216bbcdeb5e415d8f22b11e
tree4ce4f091b1cfe1c427de7d32f6e1e406d5f52d41
parent366fc02cfca0c86267b9fbc6299faa467a868637
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