efi_loader: Add disk interfaces
A EFI applications usually want to access storage devices to load data from. This patch adds support for EFI disk interfaces. It loops through all block storage interfaces known to U-Boot and creates an EFI object for each existing one. EFI applications can then through these objects call U-Boot's read and write functions. Signed-off-by: NAlexander Graf <agraf@suse.de> Reviewed-by: NSimon Glass <sjg@chromium.org> Tested-by: NSimon Glass <sjg@chromium.org> [trini: Update for various DM changes since posting] Signed-off-by: NTom Rini <trini@konsulko.com>
Showing
lib/efi_loader/efi_disk.c
0 → 100644
想要评论请 注册 或 登录