commit | b90e487dec5b01be25525d820fa4dce78f04dc92 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Mar 07 17:35:13 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Fri Mar 12 09:57:31 2021 -0500 |
tree | 7b7d512102983a4ba0e16673e76724ae0ad51caa | |
parent | 1ef74ab7e5ebad48f4f5f09e24f3f3745b1244f9 [diff] |
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: Simon Glass <sjg@chromium.org>