diff options
| author | AKASHI Takahiro <[email protected]> | 2022-04-19 10:05:13 +0900 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2022-04-23 22:05:41 +0200 |
| commit | 3c809dfed757c37b92ff543c8f1c941407bafc2e (patch) | |
| tree | 6c1354a5a8f195d2131518b529984cb96eb45613 /doc/develop | |
| parent | a9bf024b2933bba0e23038892970a18b72dfaeb4 (diff) | |
efi_loader: disk: not create BLK device for BLK(IF_TYPE_EFI_LOADER) devices
When we create an efi_disk device with an UEFI application using driver
binding protocol, the 'efi_driver' framework tries to create
a corresponding block device(UCLASS_BLK/IF_TYPE_EFI). This will lead to
calling a PROBE callback, efi_disk_probe().
In this case, however, we don't need to create another "efi_disk" device
as we already have this device instance.
So we should avoid recursively invoke further processing in the callback
function.
Signed-off-by: AKASHI Takahiro <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
