sandbox: Support executables for more phases
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>
Showing
- arch/sandbox/cpu/os.c 28 additions, 35 deletionsarch/sandbox/cpu/os.c
- arch/sandbox/cpu/spl.c 15 additions, 1 deletionarch/sandbox/cpu/spl.c
- arch/sandbox/include/asm/spl.h 13 additions, 0 deletionsarch/sandbox/include/asm/spl.h
- include/os.h 4 additions, 1 deletioninclude/os.h
- include/spl.h 21 additions, 0 deletionsinclude/spl.h
- test/image/spl_load.c 5 additions, 1 deletiontest/image/spl_load.c
Loading
Please register or sign in to comment