diff options
author | Tom Rini <trini@konsulko.com> | 2021-08-01 14:41:22 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-01 14:41:22 -0400 |
commit | 72ffb41a873722993d89c02bae4743a8ad6f16f9 (patch) | |
tree | 2508a115df4604adc9395b4f72e8ec3ec8fff90f /arch/sandbox/cpu/start.c | |
parent | 5371593aed56ee11cbb6cc6ac8d058fcd9b8f58c (diff) | |
parent | eec44c7218a3c3ce924a282cc46a59e83feb9de1 (diff) |
Merge tag 'dm-pull-1aug21' of https://source.denx.de/u-boot/custodians/u-boot-dm
sandbox TPM-emulator improvements
rST documentation and fixes for moveconfig
handle empty 'ranges' property in dtoc
patman warning for invalid tag
clean-ups to 'fdt add' command
Diffstat (limited to 'arch/sandbox/cpu/start.c')
-rw-r--r-- | arch/sandbox/cpu/start.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index 777db4e952..a74f5ec7ba 100644 --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c @@ -400,6 +400,15 @@ static int sandbox_cmdline_cb_signals(struct sandbox_state *state, SANDBOX_CMDLINE_OPT_SHORT(signals, 'S', 0, "Handle signals (such as SIGSEGV) in sandbox"); +static int sandbox_cmdline_cb_autoboot_keyed(struct sandbox_state *state, + const char *arg) +{ + state->autoboot_keyed = true; + + return 0; +} +SANDBOX_CMDLINE_OPT(autoboot_keyed, 0, "Allow keyed autoboot"); + static void setup_ram_buf(struct sandbox_state *state) { /* Zero the RAM buffer if we didn't read it, to keep valgrind happy */ |