]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Add a way to specify the sandbox executable
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:02 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commitb2d93c6aaa99f3f90470c0df3e49bd5ed265d350
tree6277178d953a56eee090f91ba7e3edec0e2e9146
parent830690d2ed29c5a0960ca13b00c938e352bf6f51
sandbox: Add a way to specify the sandbox executable

At present the sandbox executable is assumed to be arg[0] but this only
works for a single jump (e.g. from SPL to U-Boot). Add a new arg to solve
this issue, along with a detailed comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/start.c
arch/sandbox/include/asm/state.h