]> git.baikalelectronics.ru Git - uboot.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)
commit72ce9f4b0baaecd13b59a61b92c75d27144c1aa0
tree6277178d953a56eee090f91ba7e3edec0e2e9146
parent60ff8290e314d63afdb5d54e38b9b036dec2b390
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