From: Gabe Black Date: Sat, 20 Oct 2012 12:33:08 +0000 (+0000) Subject: x86: Add an fdt pointer to the global data structure X-Git-Tag: v2013.01-rc2~99^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=028a56289a443dd6209a7b8d9f480367f528da51;p=platform%2Fkernel%2Fu-boot.git 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 Signed-off-by: Simon Glass --- 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. */ };