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>
Tue, 23 Sep 2014 08:39:13 +0000 (10:39 +0200)
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 74df21003363305e98a7b84d27275612df1a98fe..cd08a5e7748fdf01b2b27d8e3c8f15b9d111c9ff 100644 (file)
@@ -92,6 +92,9 @@ typedef struct global_data {
        unsigned long malloc_ptr;       /* current address */
 #endif
        struct arch_global_data arch;   /* architecture-specific data */
+#ifdef CONFIG_OF_MULTI
+       void *priv;
+#endif
 } gd_t;
 #endif