diff options
author | Simon Glass <sjg@chromium.org> | 2012-02-15 23:51:11 (GMT) |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-12 15:03:42 (GMT) |
commit | f7b2af0a228645f972cc882534b68d32c739f5e9 (patch) | |
tree | a7f130c377fb43fddf432c8fabf8e01704bc267e /arch/sandbox/include | |
parent | e2dcefcb404df39fc38786f4b76e3b94d4f476e1 (diff) | |
download | u-boot-f7b2af0a228645f972cc882534b68d32c739f5e9.tar.xz |
sandbox: fdt: add support for CONFIG_OF_CONTROL
This adds support for a controlling fdt, mirroring the ARM implementation.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/sandbox/include')
-rw-r--r-- | arch/sandbox/include/asm/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h index 8d47191..01a7063 100644 --- a/arch/sandbox/include/asm/global_data.h +++ b/arch/sandbox/include/asm/global_data.h @@ -45,6 +45,7 @@ typedef struct global_data { unsigned long fb_base; /* base address of frame buffer */ u8 *ram_buf; /* emulated RAM buffer */ phys_size_t ram_size; /* RAM size */ + const void *fdt_blob; /* Our device tree, NULL if none */ void **jt; /* jump table */ char env_buf[32]; /* buffer for getenv() before reloc. */ } gd_t; |