summaryrefslogtreecommitdiff
path: root/doc/README.fdt-control
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-10-24 19:15:34 +0000
committerWolfgang Denk <wd@denx.de>2011-10-26 21:40:16 +0200
commiteea63e05d0b7f54e7aa39725015483972c71cb3c (patch)
tree6efe7cc0f7dc4eea53b04fc1ac02e35b552af8d4 /doc/README.fdt-control
parentf5437ad141e13ff03dccb24707e8100d2b0295fd (diff)
fdt: ARM: Add fdtcontroladdr to set device tree address in environment
This adds support for a new environment variable called 'fdtcontroladdr'. If defined, the hex address is used as the address of the control fdt for U-Boot. Note: I have not changed CONFIG_PRAM section as I already have an outstanding patch on that. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.fdt-control')
-rw-r--r--doc/README.fdt-control12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/README.fdt-control b/doc/README.fdt-control
index 3f8bb5a6701..85bda035043 100644
--- a/doc/README.fdt-control
+++ b/doc/README.fdt-control
@@ -144,6 +144,18 @@ and then flash image.bin onto your board.
You cannot use both of these options at the same time.
+If you wish to put the fdt at a different address in memory, you can
+define the "fdtcontroladdr" environment variable. This is the hex
+address of the fdt binary blob, and will override either of the options.
+Be aware that this environment variable is checked prior to relocation,
+when only the compiled-in environment is available. Therefore it is not
+possible to define this variable in the saved SPI/NAND flash
+environment, for example (it will be ignored).
+
+To use this, put something like this in your board header file:
+
+#define CONFIG_EXTRA_ENV_SETTINGS "fdtcontroladdr=10000\0"
+
Limitations
-----------