From patchwork Fri Dec 14 06:48:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot,v2,12/58] x86: Move gd_addr into arch_global_data Date: Thu, 13 Dec 2012 20:48:41 -0000 From: Simon Glass X-Patchwork-Id: 206306 Message-Id: <1355467767-29575-13-git-send-email-sjg@chromium.org> To: U-Boot Mailing List Cc: Tom Rini Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/include/asm/global_data.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h index 9a4f141..eded279 100644 --- a/arch/x86/include/asm/global_data.h +++ b/arch/x86/include/asm/global_data.h @@ -28,6 +28,7 @@ /* Architecture-specific global data */ struct arch_global_data { + struct global_data *gd_addr; /* Location of Global Data */ }; /* @@ -44,8 +45,6 @@ typedef struct global_data gd_t; struct global_data { struct arch_global_data arch; /* architecture-specific data */ - /* NOTE: gd_addr MUST be first member of struct global_data! */ - gd_t *gd_addr; /* Location of Global Data */ bd_t *bd; unsigned long flags; unsigned int baudrate;