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)
committerPrzemyslaw Marczak <p.marczak@samsung.com>
Fri, 4 Dec 2015 15:31:01 +0000 (16:31 +0100)
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 1abdcaa6b7cd3f9f21affd12e941a82b7b135bbf..1efaea562a692296b52decf6af186ae4cc1472fe 100644 (file)
@@ -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