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>
Mon, 18 May 2015 09:54:51 +0000 (11:54 +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 6747619b1c7868ce946660619e4bbe694bcae577..0046adbfb0a0d1a1e851030ae36d525b23936e04 100644 (file)
@@ -99,6 +99,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