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-Tag: submit/tizen_common/20150115.132736~43
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=106c8f77b5e77e51b66f6c0ce890be32c7872794;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 9c5a1e166f..42acdcdffc 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -93,6 +93,9 @@ typedef struct global_data {
#endif
struct udevice *cur_serial_dev; /* current serial device */
struct arch_global_data arch; /* architecture-specific data */
+#ifdef CONFIG_OF_MULTI
+ void *priv;
+#endif
} gd_t;
#endif