diff options
author | Simon Glass <sjg@chromium.org> | 2014-02-26 22:59:14 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-03-04 17:15:28 (GMT) |
commit | 714a5621c2df0b1cfce525b9add071fc9bfd726b (patch) | |
tree | 74046d9f8bc03378d7d4daf67df27189b7df705b /arch/sandbox/config.mk | |
parent | 1ace4022394eacbdae12e7275c445699f8ad4833 (diff) | |
download | u-boot-714a5621c2df0b1cfce525b9add071fc9bfd726b.tar.xz |
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 'arch/sandbox/config.mk')
-rw-r--r-- | arch/sandbox/config.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/config.mk b/arch/sandbox/config.mk index 23b057e..668aa71 100644 --- a/arch/sandbox/config.mk +++ b/arch/sandbox/config.mk @@ -11,3 +11,5 @@ __HAVE_ARCH_GENERIC_BOARD := y cmd_u-boot__ = $(CC) -o $@ -T u-boot.lds \ -Wl,--start-group $(u-boot-main) -Wl,--end-group \ $(PLATFORM_LIBS) -Wl,-Map -Wl,u-boot.map + +CONFIG_ARCH_DEVICE_TREE := sandbox |