]> git.baikalelectronics.ru Git - uboot.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)
commitf48d3cd5f95dbb7c327520f39f7048c60993a099
treec36bf045cdad0eb02691bb999ba6f734e330c220
parent08b382c9e51ae055ec9a706f5f2290f71fbfc021
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