diff options
author | Torsten Koschorrek <koschorrek@synertronixx.de> | 2011-07-14 23:16:51 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2011-07-18 14:41:48 +0200 |
commit | 386393c680f6a48bb3628809983dd1f403ddaa5d (patch) | |
tree | 733a226cc483aff5bb02d05ca4417f9cc5efa394 /include/configs | |
parent | 49473adabff703d0784f1f7457f29bde0a4893d1 (diff) |
scb9328: Add ARM relocation support
This patch fixes compiler errors due to missing definitions of
CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR.
It also does some cleanup: CONFIG_SYS_TEXT_BASE was moved to scb9328.h,
obsolete config.mk was removed. The scb9328 board has 1 DRAM bank, so don't
ask for more banks. CONFIG_NR_DRAM_BANKS will ever be 1.
Signed-off-by: Torsten Koschorrek <koschorrek@synertronixx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/scb9328.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/scb9328.h b/include/configs/scb9328.h index 6a92ec3bd0..1b5d93158e 100644 --- a/include/configs/scb9328.h +++ b/include/configs/scb9328.h @@ -126,6 +126,11 @@ #define SCB9328_SDRAM_1 0x08000000 /* SDRAM bank #1 */ #define SCB9328_SDRAM_1_SIZE 0x01000000 /* 16 MB */ +#define CONFIG_SYS_TEXT_BASE 0x10000000 + +#define CONFIG_SYS_SDRAM_BASE SCB9328_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (SCB9328_SDRAM_1 + 0xf00000) + /* * Configuration for FLASH memory for the Synertronixx board */ |