diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-27 11:43:17 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-27 11:43:17 +0200 |
commit | f04821a8ca714459481bd9fd315af2b5f92d99a6 (patch) | |
tree | cf5ec812082840d228f67ef82e8be4d647ff3322 /include/configs/mx25pdk.h | |
parent | b68d6712c379735e886ef9c01b946bc36f295273 (diff) | |
parent | 01968b96a24414ff8f0735111907cbb750c7af43 (diff) | |
download | u-boot-imx-f04821a8ca714459481bd9fd315af2b5f92d99a6.zip u-boot-imx-f04821a8ca714459481bd9fd315af2b5f92d99a6.tar.gz u-boot-imx-f04821a8ca714459481bd9fd315af2b5f92d99a6.tar.bz2 |
Merge remote-tracking branch 'u-boot-imx/master'
Diffstat (limited to 'include/configs/mx25pdk.h')
-rw-r--r-- | include/configs/mx25pdk.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index 96c143e..bd000a7 100644 --- a/include/configs/mx25pdk.h +++ b/include/configs/mx25pdk.h @@ -15,6 +15,8 @@ #ifndef __CONFIG_H #define __CONFIG_H +#include <asm/arch/imx-regs.h> + /* High Level Configuration Options */ #define CONFIG_SYS_HZ 1000 @@ -41,8 +43,13 @@ #define CONFIG_BOARD_EARLY_INIT_F #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 -#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - \ - GENERATED_GBL_DATA_SIZE) +#define CONFIG_SYS_INIT_RAM_ADDR IMX_RAM_BASE +#define CONFIG_SYS_INIT_RAM_SIZE IMX_RAM_SIZE + +#define CONFIG_SYS_INIT_SP_OFFSET \ + (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) +#define CONFIG_SYS_INIT_SP_ADDR \ + (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) /* Memory Test */ #define CONFIG_SYS_MEMTEST_START (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE/2) |