]> git.sur5r.net Git - u-boot/commitdiff
x86: Add an fdt pointer to the global data structure
authorGabe Black <gabeblack@chromium.org>
Sat, 20 Oct 2012 12:33:08 +0000 (12:33 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Nov 2012 21:44:04 +0000 (13:44 -0800)
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>
arch/x86/include/asm/global_data.h

index b8961baaebbe87242e5f90244f2930a56d936982..35110a33322d8b7573d7b8ed9c5ce40057c322fa 100644 (file)
@@ -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. */
 };