]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Support executables for more phases
authorSimon Glass <sjg@chromium.org>
Mon, 5 Jul 2021 22:32:45 +0000 (16:32 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 16:27:34 +0000 (10:27 -0600)
commitf178bebf551a43445ba8f1e1a4c1638eff8eb612
treec36bf045cdad0eb02691bb999ba6f734e330c220
parent719d286475d2df1f1d8f4413659893934f38de7d
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>
arch/sandbox/cpu/os.c
arch/sandbox/cpu/spl.c
arch/sandbox/include/asm/spl.h
include/os.h
include/spl.h
test/image/spl_load.c