efi_loader: Use map_sysmem() in bootefi command
authorAlexander Graf <agraf@suse.de>
Mon, 18 Jun 2018 15:22:58 +0000 (17:22 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:57:43 +0000 (14:57 +0200)
commit354264b31d3c536ce0c4d3ac87acfd3fa7ac808a
treeda4d08c886158dad5f5c56e9e97896ca4cda8f49
parentb59f69712b6af5e2b95e154a873f59948a754cc9
efi_loader: Use map_sysmem() in bootefi command

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c