u-boot-brain/arch/sandbox/cpu
Simon Glass 65f3b1f992 sandbox: Filter arguments when starting U-Boot
The current method of starting U-Boot from U-Boot adds arguments to pass
the memory file through, so that memory is preserved. This is fine for a
single call, but if we call from TPL -> SPL -> U-Boot the arguments build
up and we have several memory files in the argument list.

Adjust the implementation to filter out arguments that we want to replace
with new ones. Also print a useful error if the exec() call fails.

Signed-off-by: Simon Glass <sjg@chromium.org>
2018-11-26 08:25:37 -05:00
..
cpu.c sandbox: remove stray DEBUG 2018-11-20 19:14:22 -07:00
eth-raw-os.c sandbox: Use malloc() and free() from os layer 2018-11-26 08:25:37 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
os.c sandbox: Filter arguments when starting U-Boot 2018-11-26 08:25:37 -05:00
sdl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.c sandbox: Add an option to display of-platdata in SPL 2018-11-26 08:25:35 -05:00
start.c sandbox: Add a new 'sb' command 2018-11-26 08:25:36 -05:00
state.c sandbox: Remove the old memory file later 2018-10-09 04:40:26 -06:00
u-boot-spl.lds sandbox: Add an option to display of-platdata in SPL 2018-11-26 08:25:35 -05:00
u-boot.lds Partially revert "efi_loader: Rename sections to allow for implicit data" 2018-08-23 16:17:41 -04:00