[U-Boot] [PATCH v2 04/11] efi_loader: Use map_sysmem() in bootefi command

Simon Glass
2018-06-14T19:00:30Z

On 14 June 2018 at 12:22, Alexander Graf <agraf@suse.de> wrote:
> The bootefi command gets a few addresses as values passed in. In sandbox,
> these values are in U-Boot address space, so we need to make sure we
> explicitly call map_sysmem() on them to be able to access them.
>
> Signed-off-by: Alexander Graf <agraf@suse.de>
> ---
> cmd/bootefi.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)

Looks right to me. You might consider doing the map lower down in
efi_load_pe() but since you don't ever log the address, I suppose it
is OK.

Reviewed-by: Simon Glass <sjg@chromium.org>