summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:49:11 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:45 -0500
commit8ee666a76ffe2b63174af477c93ebf389a49d76b (patch)
tree7adbc432825654849d9b5c996f6c0ef3a22d1f65 /arch/sandbox/include
parent3d0f8c8f8072a3f2844fc54bfaf2a42026903755 (diff)
downloadtalos-obmc-uboot-8ee666a76ffe2b63174af477c93ebf389a49d76b.tar.gz
talos-obmc-uboot-8ee666a76ffe2b63174af477c93ebf389a49d76b.zip
sandbox: Move ram_buf to arch_global_data
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include')
-rw-r--r--arch/sandbox/include/asm/global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h
index f33f465825..3ba7ed5dc3 100644
--- a/arch/sandbox/include/asm/global_data.h
+++ b/arch/sandbox/include/asm/global_data.h
@@ -28,6 +28,7 @@
/* Architecture-specific global data */
struct arch_global_data {
+ u8 *ram_buf; /* emulated RAM buffer */
};
/*
@@ -46,7 +47,6 @@ typedef struct global_data {
unsigned long env_addr; /* Address of Environment struct */
unsigned long env_valid; /* Checksum of Environment valid? */
unsigned long fb_base; /* base address of frame buffer */
- u8 *ram_buf; /* emulated RAM buffer */
phys_size_t ram_size; /* RAM size */
const void *fdt_blob; /* Our device tree, NULL if none */
void **jt; /* jump table */
OpenPOWER on IntegriCloud