diff options
author | Stefan Roese <sr@denx.de> | 2013-04-25 23:10:02 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2013-05-02 20:45:44 +0200 |
commit | 704afcc43f5937f1b56d17a08cad7d8dc8b68717 (patch) | |
tree | 23cb1a8cea7c1fc3e8407a4b6cabe20aa8c2969b | |
parent | f8945518ca6af4ee5bfb8156b3897f181f0be1db (diff) | |
download | u-boot-imx-704afcc43f5937f1b56d17a08cad7d8dc8b68717.zip u-boot-imx-704afcc43f5937f1b56d17a08cad7d8dc8b68717.tar.gz u-boot-imx-704afcc43f5937f1b56d17a08cad7d8dc8b68717.tar.bz2 |
mpc5200: a3m071/a4m2k: Fix problem with increased global_data struct
The v2013.04 release has this patch set included:
5cb48582 "Add architecture-specific global data"
With this, the global_data struct is now common and new variables
have been added. Resulting in a bigger struct. Unfortunately the
currently allocated 128 bytes are just a bit too small for this
new struct.
This patch now uses the automatically generated struct size instead to
not run into this problem again.
Please note that this problem might hit some other platforms which
currently reserve a tight space of 128 bytes for the global_data
struct!
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | include/configs/a3m071.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/configs/a3m071.h b/include/configs/a3m071.h index 662d8ca..1c055a3 100644 --- a/include/configs/a3m071.h +++ b/include/configs/a3m071.h @@ -122,10 +122,8 @@ #define CONFIG_SYS_INIT_RAM_ADDR MPC5XXX_SRAM #define CONFIG_SYS_INIT_RAM_END MPC5XXX_SRAM_SIZE - -#define CONFIG_SYS_GBL_DATA_SIZE 128 #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END - \ - CONFIG_SYS_GBL_DATA_SIZE) + GENERATED_GBL_DATA_SIZE) #define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE |