[U-Boot] [PATCH v2 11/21] efi_loader: add file/filesys support

Simon Glass
2017-09-12T12:30:22Z

On 10 September 2017 at 05:21, Rob Clark <robdclark@gmail.com> wrote:
> fallback.efi (and probably other things) use UEFI's simple-file-system
> protocol and file support to search for OS's to boot.
>
> Signed-off-by: Rob Clark <robdclark@gmail.com>
> ---
> include/efi.h | 2 +
> include/efi_api.h | 65 +++++
> include/efi_loader.h | 13 +
> lib/efi_loader/Makefile | 1 +
> lib/efi_loader/efi_disk.c | 32 +++
> lib/efi_loader/efi_file.c | 556 ++++++++++++++++++++++++++++++++++++++
> lib/efi_loader/efi_image_loader.c | 3 +
> 7 files changed, 672 insertions(+)
> create mode 100644 lib/efi_loader/efi_file.c

What does sanitize_path() do? Please add a comment.

How do we test all this code?