u-boot:global data: add new field 'void *priv' for CONFIG_OF_MULTI
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Thu, 18 Sep 2014 14:15:13 +0000 (16:15 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 8 Apr 2016 02:11:58 +0000 (11:11 +0900)
This field is required for storing detected platform info
before the relocation or "bd_t" initialization.

Change-Id: Idbe987252079e5bf863adbec4fd5fc5edc2d8829
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
include/asm-generic/global_data.h

index f2810a1bd75f579a0f8daddfc8918264ef467223..10e920d015f2d4523a61bbf557a5ebcc7c0878e8 100644 (file)
@@ -122,6 +122,9 @@ typedef struct global_data {
        ulong video_top;                /* Top of video frame buffer area */
        ulong video_bottom;             /* Bottom of video frame buffer area */
 #endif
+#ifdef CONFIG_OF_MULTI
+       void *priv;
+#endif
 } gd_t;
 #endif