fdt: Add support for embedded device tree (CONFIG_OF_EMBED)
authorSimon Glass <sjg@chromium.org>
Sat, 15 Oct 2011 05:48:21 +0000 (05:48 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 26 Oct 2011 19:38:59 +0000 (21:38 +0200)
commitbbb0b128c3956ac549471addc314702fbe0ace63
tree7cc3c4c3d3206154381ed31a8a1419a68cd6a476
parent45ba8077f3ed7039b6cde5fe56149d390dc5ff0c
fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

This new option allows U-Boot to embed a binary device tree into its image
to allow run-time control of peripherals. This device tree is for U-Boot's
own use and is not necessarily the same one as is passed to the kernel.

The device tree compiler output should be placed in the $(obj)
rooted tree. Since $(OBJCOPY) insists on adding the path to the
generated symbol names, to ensure consistency it should be
invoked from the directory where the .dtb file is located and
given the input file name without the path.

This commit contains my entry for the ugliest Makefile / shell interaction
competition.

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
README
config.mk
doc/README.fdt-control [new file with mode: 0644]
dts/Makefile [new file with mode: 0644]
include/common.h