summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2022-04-19 04:05:15 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-04-23 23:05:41 +0300
commita3cb34e9b7506dec1e5f55279f17a12eded86c48 (patch)
tree961afbd0b6633facc5ab34b98bc409584e1c5e6b /disk
parentb406eb04c360b4842a02bcfedd9bbee015c3d127 (diff)
downloadu-boot-a3cb34e9b7506dec1e5f55279f17a12eded86c48.tar.xz
efi_loader: disk: not delete 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 <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions