summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-10-24 19:15:31 +0000
committerWolfgang Denk <wd@denx.de>2011-10-26 21:39:26 +0200
commit2c0f79e44bfdc592913b96aeeb7ecc5acca6eb37 (patch)
treea18e02762410787513411423f9d6989cfd698d31 /README
parentbbb0b128c3956ac549471addc314702fbe0ace63 (diff)
downloadu-boot-imx-2c0f79e44bfdc592913b96aeeb7ecc5acca6eb37.zip
u-boot-imx-2c0f79e44bfdc592913b96aeeb7ecc5acca6eb37.tar.gz
u-boot-imx-2c0f79e44bfdc592913b96aeeb7ecc5acca6eb37.tar.bz2
fdt: Add support for a separate device tree (CONFIG_OF_SEPARATE)
This adds support for an FDT to be build as a separate binary file called u-boot.dtb. This can be concatenated with the U-Boot binary to provide a device tree located at run-time by U-Boot. The Makefile is modified to provide this file in u-boot-dtb.bin. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'README')
-rw-r--r--README16
1 files changed, 14 insertions, 2 deletions
diff --git a/README b/README
index 094869c..558f011 100644
--- a/README
+++ b/README
@@ -824,8 +824,8 @@ The following options need to be configured:
experimental and only available on a few boards. The device
tree is available in the global data as gd->fdt_blob.
- U-Boot needs to get its device tree from somewhere. At present
- the only way is to embed it in the image with CONFIG_OF_EMBED.
+ U-Boot needs to get its device tree from somewhere. This can
+ be done using one of the two options below:
CONFIG_OF_EMBED
If this variable is defined, U-Boot will embed a device tree
@@ -834,6 +834,18 @@ The following options need to be configured:
is then picked up in board_init_f() and made available through
the global data structure as gd->blob.
+ CONFIG_OF_SEPARATE
+ If this variable is defined, U-Boot will build a device tree
+ binary. It will be called u-boot.dtb. Architecture-specific
+ code will locate it at run-time. Generally this works by:
+
+ cat u-boot.bin u-boot.dtb >image.bin
+
+ and in fact, U-Boot does this for you, creating a file called
+ u-boot-dtb.bin which is useful in the common case. You can
+ still use the individual files if you need something more
+ exotic.
+
- Watchdog:
CONFIG_WATCHDOG
If this variable is defined, it enables watchdog