summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2015-04-30 22:16:09 +0200
committerSimon Glass <sjg@chromium.org>2015-05-06 12:48:36 -0600
commitebaa832e9904677e2aea96d20e9c2c669e1ec7df (patch)
tree99fa361bdad0dfcedb9bb2335ce52eb500641f7b /include
parentfa5b9baa0c2350c045edab11c076d02e9801566b (diff)
downloadu-boot-imx-ebaa832e9904677e2aea96d20e9c2c669e1ec7df.zip
u-boot-imx-ebaa832e9904677e2aea96d20e9c2c669e1ec7df.tar.gz
u-boot-imx-ebaa832e9904677e2aea96d20e9c2c669e1ec7df.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sandbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index ef0efc5..f5361d1 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -125,6 +125,8 @@
func(HOST, host, 1) \
func(HOST, host, 0)
+#define CONFIG_BOOTCOMMAND ""
+
#include <config_distro_bootcmd.h>
#define CONFIG_KEEP_SERVERADDR