Skip to content
Snippets Groups Projects
Commit 65f3b1f9 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent fc1f58a4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment