[U-Boot] [RFC 0/3] dm, efi: integrate efi_disk into DM
Alexander Graf
agraf at suse.de
Tue Jan 29 16:20:45 UTC 2019
On 01/29/2019 03:59 AM, AKASHI Takahiro wrote:
> This patch set came from the past discussion[1] on my "removable device
> support" patch and is intended to be an attempt to integrate efi_disk
> (more precisely, EFI_BLOCK_IO_PROTOCOL-capable efi object) into u-boot's
> Driver Model as much seamlessly as possible
>
> [1] https://lists.denx.de/pipermail/u-boot/2019-January/354010.html
>
> Basic idea is
> * create UCLASS_PARTITION
> * enumerate all the partitions when a block device is probed
> * hook up a creation of UCLASS_BLK or UCLASS_PARTITION device
> to efi handler for efi_disk attributes to be properly set up
>
> Since this patch is a prototype (or POC, proof-of-concept), the aim here
> is to discuss further about how in a better shape we will be able to
> merge the two worlds.
I like the approach. It seems pretty clean and gives us a smooth
transition from the split world to a unified all-dm world. Eventually
the efi object list will just naturally disappear and we can drop all
calls to add efi object handles.
Alex
More information about the U-Boot
mailing list