diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2014-09-18 16:15:13 +0200 |
---|---|---|
committer | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-05-18 11:54:51 +0200 |
commit | bb1e409e1aa095b2519e453dfa7e7fb0f8f46724 (patch) | |
tree | 5398acdb53573b7dcd559708e6aec5211a88baa6 | |
parent | 10225dbc2eb2674dedbab09b57c31f287b14384e (diff) | |
download | u-boot-bb1e409e1aa095b2519e453dfa7e7fb0f8f46724.tar.gz u-boot-bb1e409e1aa095b2519e453dfa7e7fb0f8f46724.tar.bz2 u-boot-bb1e409e1aa095b2519e453dfa7e7fb0f8f46724.zip |
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 <p.marczak@samsung.com>
-rw-r--r-- | include/asm-generic/global_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 6747619b1c..0046adbfb0 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -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 |