diff options
author | Gabe Black <gabeblack@chromium.org> | 2011-07-20 15:45:45 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:59:08 -0700 |
commit | 6af538f5ca09179137ce9b053f25e04a6ba771db (patch) | |
tree | dbbfa35de8055713ca32cada7491d4f23e72def9 /arch | |
parent | cd9808dbaa3414e0d10cb01b1efefa443a2846b8 (diff) |
Add a pointer to the global data structure to point to the device tree.
This change adds a pointer to the global data structure in i386 to point to
the device tree. This mirrors an identical pointer in ARM.
BUG=chrome-os-partner:4993
TEST=Built and booted u-boot on an Alex.
Change-Id: I96710993bb35327ce5c4aa78aa5da763dc72109e
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://gerrit.chromium.org/gerrit/4696
Tested-by: Gabe Black <gabeblack@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Diffstat (limited to 'arch')
-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 810c3755c5e..88024703a7b 100644 --- a/arch/x86/include/asm/global_data.h +++ b/arch/x86/include/asm/global_data.h @@ -52,6 +52,7 @@ typedef struct global_data { unsigned long start_addr_sp; /* start_addr_stackpointer */ phys_size_t ram_size; /* RAM size */ unsigned long reset_status; /* reset status register at boot */ + const void *blob; /* Our device tree, NULL if none */ void **jt; /* jump table */ char env_buf[32]; /* buffer for getenv() before reloc. */ } gd_t; |