sandbox: Add a new 'sb' command
authorSimon Glass <sjg@chromium.org>
Fri, 16 Nov 2018 01:44:03 +0000 (18:44 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 26 Nov 2018 13:25:36 +0000 (08:25 -0500)
commitd66ddafaf94386f8b92b190a09a0dc488a89149f
treeb2c321722f6ca0490cae1deed943d7b1448d83b7
parent6d07d63d2f07497ba9846a5bcd3e5b9c417db931
sandbox: Add a new 'sb' command

The old 'sb' command was deprecated in 2015 and replaced with 'host'. It
is useful to be able to access some internal sandbox state, particularly
for testing.

Resurrect the old command and provide a way to print some basic state
information (currently just the arguments to sandbox).

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/start.c
arch/sandbox/include/asm/state.h
cmd/Makefile
cmd/sb.c [new file with mode: 0644]