summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-02-26 15:59:14 -0700
committerTom Rini <trini@ti.com>2014-03-04 12:15:28 -0500
commit714a5621c2df0b1cfce525b9add071fc9bfd726b (patch)
tree74046d9f8bc03378d7d4daf67df27189b7df705b /include
parent1ace4022394eacbdae12e7275c445699f8ad4833 (diff)
downloadu-boot-imx-714a5621c2df0b1cfce525b9add071fc9bfd726b.zip
u-boot-imx-714a5621c2df0b1cfce525b9add071fc9bfd726b.tar.gz
u-boot-imx-714a5621c2df0b1cfce525b9add071fc9bfd726b.tar.bz2
sandbox: Build a device tree file for sandbox
Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE option to make it easier to use device tree with sandbox. This adjusts the Makefile to build a u-boot.dtb file which can be passed to sandbox U-Boot with: ./u-boot -d u-boot.dtb Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sandbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index e77d06b..fbb9791 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -32,6 +32,7 @@
#define CONFIG_FIT_SIGNATURE
#define CONFIG_RSA
#define CONFIG_CMD_FDT
+#define CONFIG_DEFAULT_DEVICE_TREE sandbox
#define CONFIG_FS_FAT
#define CONFIG_FS_EXT4