public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree
@ 2011-12-06  1:43 Gabe Black
  2011-12-06  1:47 ` Simon Glass
  2011-12-06  1:49 ` [U-Boot] [PATCH] " Graeme Russ
  0 siblings, 2 replies; 8+ messages in thread
From: Gabe Black @ 2011-12-06  1:43 UTC (permalink / raw)
  To: u-boot

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>
---
 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 05a2139..d29d4e9 100644
--- a/arch/x86/include/asm/global_data.h
+++ b/arch/x86/include/asm/global_data.h
@@ -53,6 +53,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;
-- 
1.7.3.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-12-12  9:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06  1:43 [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree Gabe Black
2011-12-06  1:47 ` Simon Glass
2011-12-06  1:58   ` [U-Boot] [PATCH v2] " Gabe Black
2011-12-06  1:49 ` [U-Boot] [PATCH] " Graeme Russ
2011-12-06  2:04   ` Gabe Black
2011-12-06  2:07     ` Graeme Russ
2011-12-06  5:45       ` Gabe Black
2011-12-12  9:08     ` Graeme Russ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox