projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f458651
)
u-boot:global data: add new field 'void *priv' for CONFIG_OF_MULTI
author
Przemyslaw Marczak
<p.marczak@samsung.com>
Thu, 18 Sep 2014 14:15:13 +0000
(16:15 +0200)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 5 Apr 2017 09:57:05 +0000
(18:57 +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
patch
|
blob
|
history
diff --git
a/include/asm-generic/global_data.h
b/include/asm-generic/global_data.h
index e02863dc0312ab6435d547cf138c9a59e83ef95c..15226d0eb2273e18b97f045fe449eaec3924a162 100644
(file)
--- a/
include/asm-generic/global_data.h
+++ b/
include/asm-generic/global_data.h
@@
-107,6
+107,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