Re: [U-Boot] [PATCH v2 06/16] efi: sandbox: Adjust memory usage for sandbox

2018-01-09 Thread Heinrich Schuchardt
On 12/04/2017 10:28 PM, Simon Glass wrote: > With sandbox the U-Boot code is not mapped into the sandbox memory range > so does not need to be excluded when allocating EFI memory. Update the EFI > memory init code to take account of that. > > Also use mapmem instead of a cast to convert a memory

[U-Boot] [PATCH v2 06/16] efi: sandbox: Adjust memory usage for sandbox

2017-12-04 Thread Simon Glass
With sandbox the U-Boot code is not mapped into the sandbox memory range so does not need to be excluded when allocating EFI memory. Update the EFI memory init code to take account of that. Also use mapmem instead of a cast to convert a memory address to a pointer. Signed-off-by: Simon Glass