From 57bc41f1118d385f059b522215cc1f11d7d5e3df Mon Sep 17 00:00:00 2001 From: Przemyslaw Marczak Date: Thu, 18 Sep 2014 16:15:13 +0200 Subject: [PATCH] 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 --- include/asm-generic/global_data.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index e02863dc03..15226d0eb2 100644 --- 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 -- 2.34.1