diff options
author | Gabe Black <gabeblack@chromium.org> | 2012-10-20 12:33:08 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2012-11-30 13:44:04 -0800 |
commit | 028a56289a443dd6209a7b8d9f480367f528da51 (patch) | |
tree | 85b15962d7ba1fdda61106092eea9ebcd7a404f2 /arch/x86/include | |
parent | 17c40ad96352114162e8a22b89a50b4742fd8f6a (diff) | |
download | u-boot-imx-028a56289a443dd6209a7b8d9f480367f528da51.zip u-boot-imx-028a56289a443dd6209a7b8d9f480367f528da51.tar.gz u-boot-imx-028a56289a443dd6209a7b8d9f480367f528da51.tar.bz2 |
x86: Add an fdt pointer to the global data structure
This change adds a pointer to the global data structure in x86 to point to
the device tree. This mirrors an identical pointer in ARM.
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h index b8961ba..35110a3 100644 --- a/arch/x86/include/asm/global_data.h +++ b/arch/x86/include/asm/global_data.h @@ -58,6 +58,7 @@ struct global_data { unsigned long gdt_addr; /* Location of GDT */ phys_size_t ram_size; /* RAM size */ unsigned long reset_status; /* reset status register at boot */ + const void *fdt_blob; /* Our device tree, NULL if none */ void **jt; /* jump table */ char env_buf[32]; /* buffer for getenv() before reloc. */ }; |