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>
This commit is contained in:
parent
17c40ad963
commit
028a56289a
@ -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. */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user