From e845f9006a617eb4449e7dea9fd7493438db804e Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sat, 11 Jun 2011 15:16:32 +0000 Subject: mx1ads: Fix build by using new relocation scheme Signed-off-by: Fabio Estevam --- include/configs/mx1ads.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/configs') diff --git a/include/configs/mx1ads.h b/include/configs/mx1ads.h index 166da6ca7f..7b68ec5b60 100644 --- a/include/configs/mx1ads.h +++ b/include/configs/mx1ads.h @@ -156,6 +156,16 @@ #define PHYS_SDRAM_1 0x08000000 /* SDRAM on CSD0 */ #define PHYS_SDRAM_1_SIZE 0x04000000 /* 64 MB */ +#define CONFIG_SYS_TEXT_BASE 0x10000000 + +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_RAM_ADDR 0x00300000 +#define CONFIG_SYS_INIT_RAM_SIZE 0x000FFFFF +#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \ + GENERATED_GBL_DATA_SIZE) +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ + CONFIG_SYS_GBL_DATA_OFFSET) + #define CONFIG_SYS_MAX_FLASH_BANKS 1 /* 1 bank of SyncFlash */ #define CONFIG_SYS_FLASH_BASE 0x0C000000 /* SyncFlash on CSD1 */ #define FLASH_BANK_SIZE 0x01000000 /* 16 MB Total */ -- cgit v1.2.3