sandbox: Don't try distro_bootcmd by default
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Thu, 30 Apr 2015 20:16:09 +0000 (22:16 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 18:48:36 +0000 (12:48 -0600)
commitebaa832e9904677e2aea96d20e9c2c669e1ec7df
tree99fa361bdad0dfcedb9bb2335ce52eb500641f7b
parentfa5b9baa0c2350c045edab11c076d02e9801566b
sandbox: Don't try distro_bootcmd by default

For the distro_bootcmds to succeed on the sandbox a bit of setup is
required (e.g. network configured or host image bound), so running them
by default isn't that useful.

Add a -b/--boot command to the sandbox binary, which triggers the
distro_bootcmds to run after the other command-line commands.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Acked-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/start.c
arch/sandbox/include/asm/state.h
include/configs/sandbox.h