On 1 February 2016 at 19:45, Alexander Graf <ag...@suse.de> wrote:
> 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: Alexander Graf <ag...@suse.de>
> Reviewed-by: Simon Glass <s...@chromium.org>
>
> ---
>
> v1 -> v2:
>
>   - Move to block_drvr array
>   - Move to GPLv2+
>   - Fix header order
>   - Document efi block object struct
>   - Use calloc rather than malloc & memset
>
> v2 -> v3:
>
>   - Adapt to newer u-boot block API
>   - Add EFIAPI to function prototypes
>   - Document header
>   - Check for DEV_TYPE_UNKNOWN
>   - Document 16byte limit for dp string
> ---
>  include/efi_loader.h      |   2 +
>  lib/efi_loader/efi_disk.c | 218 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 220 insertions(+)
>  create mode 100644 lib/efi_loader/efi_disk.c

Tested on Beaglebone Black and Minnowboard MAX:
Tested-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to