Commit 45ba8077 authored by Simon Glass's avatar Simon Glass Committed by Wolfgang Denk
Browse files

fdt: ARM: Add device tree control of U-Boot (CONFIG_OF_CONTROL)

This adds a device tree pointer to the global data. It can be set by
board code. A later commit will add support for making a device
tree binary blob available to U-Boot for run-time configuration.
Signed-off-by: Simon Glass's avatarSimon Glass <>
parent 2d46cf29
......@@ -816,6 +816,17 @@ The following options need to be configured:
XXX - this list needs to get updated!
- Device tree:
If this variable is defined, U-Boot will use a device tree
to configure its devices, instead of relying on statically
compiled #defines in the board file. This option is
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. This will
be enabled in a future patch.
- Watchdog:
If this variable is defined, it enables watchdog
......@@ -76,6 +76,7 @@ typedef struct global_data {
unsigned long tlb_addr;
const void *fdt_blob; /* Our device tree, NULL if none */
void **jt; /* jump table */
char env_buf[32]; /* buffer for getenv() before reloc. */
#if defined(CONFIG_POST) || defined(CONFIG_LOGBUFFER)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment