]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:16 +0000 (22:37 +0200)
commit18130b88e59f3d71d10d386d7f7e97476ed12dc0
tree7b4a3e841d27fdbcb9a0746df3ab1f662d4f50e6
parent766c2828eb7bdac779365a90e875afd51cd70551
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