[U-Boot] [PATCH v4 7/9] pxe: Ensure all memory access is to mapped memory

Simon Glass sjg at chromium.org
Sun Apr 19 15:30:37 CEST 2015


On 13 April 2015 at 14:54, Sjoerd Simons <sjoerd.simons at collabora.co.uk> wrote:
> Properly map memory through map_sysmem so that pxe can be used from the
> sandbox.
>
> Tested in sandbox as well as on jetson-tk1, odroid-xu3, snow as peach-pi
> boards
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> Acked-by: Simon Glass <sjg at chromium.org>
>
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2:
> - Prevent uncessary casts
> - Always unmap mapped sysmem
> - Consistently use base variable to refer to unmapped memory
> - Various coding style fixes
>
>  common/cmd_pxe.c | 86 ++++++++++++++++++++++++++++++++++++--------------------
>  1 file changed, 56 insertions(+), 30 deletions(-)

Applied to u-boot-x86/sandbox, thanks!


More information about the U-Boot mailing list