
17 Jul
2021
17 Jul
'21
10:39 p.m.
The SPL header has a function for obtaining the phase in capital letters, e.g. 'SPL'. Add one for lower-case also, as used by sandbox.
Use this to generalise the sandbox logic for determining the filename of the next sandbox executable. This can provide support for VPL.
Signed-off-by: Simon Glass sjg@chromium.org ---
arch/sandbox/cpu/os.c | 63 +++++++++++++++------------------- arch/sandbox/cpu/spl.c | 18 ++++++++-- arch/sandbox/include/asm/spl.h | 13 +++++++ include/os.h | 5 ++- include/spl.h | 23 +++++++++++++ test/image/spl_load.c | 6 +++- 6 files changed, 89 insertions(+), 39 deletions(-)
Applied to u-boot-dm, thanks!