summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:30 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:07:49 -0500
commit5cb48582ac05931c66b00b46c60d3ee8c6fc7950 (patch)
treeffcaf6be1119502aa4d532cfa888dc9ef415e968 /arch/arm/include/asm
parent6ad77d88e57f6ab815ec7e85c5ac329054318c73 (diff)
downloadu-boot-imx-5cb48582ac05931c66b00b46c60d3ee8c6fc7950.zip
u-boot-imx-5cb48582ac05931c66b00b46c60d3ee8c6fc7950.tar.gz
u-boot-imx-5cb48582ac05931c66b00b46c60d3ee8c6fc7950.tar.bz2
Add architecture-specific global data
We plan to move architecture-specific data into a separate structure so that we can make the rest of it common. As a first step, create struct arch_global_data to hold these fields. Initially it is empty. This patch applies to all archs at once. I can split it if this is really a pain. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/global_data.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index 41a26ed..9fddf3b 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -23,6 +23,11 @@
#ifndef __ASM_GBL_DATA_H
#define __ASM_GBL_DATA_H
+
+/* Architecture-specific global data */
+struct arch_global_data {
+};
+
/*
* The following data structure is placed in some memory which is
* available very early after boot (like DPRAM on MPC8xx/MPC82xx, or
@@ -83,6 +88,7 @@ typedef struct global_data {
unsigned long post_log_res; /* success of POST test */
unsigned long post_init_f_time; /* When post_init_f started */
#endif
+ struct arch_global_data arch; /* architecture-specific data */
} gd_t;
#include <asm-generic/global_data_flags.h>