From: Przemyslaw Marczak
Date: Thu, 18 Sep 2014 14:15:13 +0000 (+0200)
Subject: u-boot:global data: add new field 'void *priv' for CONFIG_OF_MULTI
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3855701f33116e1fec308c9c947021f6b521ca7;p=platform%2Fkernel%2Fu-boot.git
u-boot:global data: add new field 'void *priv' for CONFIG_OF_MULTI
This field is required for storing detected platform info
before the relocation or "bd_t" initialization.
Change-Id: Idbe987252079e5bf863adbec4fd5fc5edc2d8829
Signed-off-by: Przemyslaw Marczak
---
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 1abdcaa6b7..1efaea562a 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -108,6 +108,9 @@ typedef struct global_data {
struct membuff console_out; /* console output */
struct membuff console_in; /* console input */
#endif
+#ifdef CONFIG_OF_MULTI
+ void *priv;
+#endif
} gd_t;
#endif