efi_driver: carve out function to create block device
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 4 Oct 2022 14:19:30 +0000 (16:19 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 6 Oct 2022 20:54:57 +0000 (22:54 +0200)
commita6d4f704ad4ae91f66d1901877f072f762812c39
treebf41c592cfa66c80ca9212ee622e79fe89aadad1
parentf3290be388aa12971ba3cabc969b8d3c94ea7035
efi_driver: carve out function to create block device

* Carve out function efi_bl_create_block_device() from efi_bl_bind().
* Add a check for U-Boot devices to efi_bl_bind().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_driver/efi_block_device.c