Skip to content
Commit 01ad9f75 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

sandbox: Update os_find_u_boot() to find the .img file



At present this function can only locate the u-boot ELF file. For SPL it
is handy to be able to locate u-boot.img since this is what would normally
be loaded by SPL.

Add another argument to allow this to be selected.

While we are here, update the function to load SPL when running in TPL,
since that is the next stage.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 8482356f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment