summaryrefslogtreecommitdiff
path: root/arch/sandbox/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-10 22:23:27 -0600
committerSimon Glass <sjg@chromium.org>2014-07-23 14:05:39 +0100
commit4d94dfa0594260245813ea150e276908cc677199 (patch)
treedd76c6a8cfeb5daee2b8ede36804aa9034696e44 /arch/sandbox/include
parentd93041a4ca0e421dd2a5683563de10e4694e6394 (diff)
downloadu-boot-imx-4d94dfa0594260245813ea150e276908cc677199.zip
u-boot-imx-4d94dfa0594260245813ea150e276908cc677199.tar.gz
u-boot-imx-4d94dfa0594260245813ea150e276908cc677199.tar.bz2
sandbox: Set up global data before board_init_f()
At present sandbox defines CONFIG_SYS_GENERIC_GLOBAL_DATA, meaning that the global_data pointer is set up in board_init_f(). If we set up and zero the global data before calling board_init_f() then we don't need to define CONFIG_SYS_GENERIC_GLOBAL_DATA. Make this change to simplify the init process. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include')
-rw-r--r--arch/sandbox/include/asm/config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sandbox/include/asm/config.h b/arch/sandbox/include/asm/config.h
index 6c1bff9..ec7729e 100644
--- a/arch/sandbox/include/asm/config.h
+++ b/arch/sandbox/include/asm/config.h
@@ -7,7 +7,6 @@
#ifndef _ASM_CONFIG_H_
#define _ASM_CONFIG_H_
-#define CONFIG_SYS_GENERIC_GLOBAL_DATA
#define CONFIG_SANDBOX_ARCH
/* Used by drivers/spi/sandbox_spi.c and arch/sandbox/include/asm/state.h */