Re: [U-Boot] [PATCH 10/11] efi_loader: Pass virtual address to fs_read()

2018-06-14 Thread Simon Glass
Hi Alex, On 14 June 2018 at 10:33, Alexander Graf wrote: > The fs_read() function wants to get a virtual (u-boot address space > in sandbox) address rather than a physical (host address space in > sandbox) one. > The terminology is wrong here. It is not about virtual and physical addresses -

[U-Boot] [PATCH 10/11] efi_loader: Pass virtual address to fs_read()

2018-06-14 Thread Alexander Graf
The fs_read() function wants to get a virtual (u-boot address space in sandbox) address rather than a physical (host address space in sandbox) one. So let's convert from the real pointer back a the physical address to make efi_loader on sandbox happier. Signed-off-by: Alexander Graf ---