diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-04-04 17:32:57 +0200 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2015-05-05 17:55:19 +0100 |
commit | 2b09c78eb26b764bb0c273c074999b251c1dcfcd (patch) | |
tree | f7738c058a6001705fb9823d00042fd45d9cd287 | |
parent | ace97d26176a3ebc9ec07738450de93eea35975c (diff) |
fix ARM TF v1.1. boot
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | include/configs/vexpress_aemv8a.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h index 032010bb9e..6b2192fd3e 100644 --- a/include/configs/vexpress_aemv8a.h +++ b/include/configs/vexpress_aemv8a.h @@ -182,7 +182,16 @@ /* Physical Memory Map */ #define CONFIG_NR_DRAM_BANKS 1 #define PHYS_SDRAM_1 (V2M_BASE) /* SDRAM Bank #1 */ -#define PHYS_SDRAM_1_SIZE 0x80000000 /* 2048 MB */ + +#define DRAM_SCP_SIZE 0x00200000 +#ifdef CONFIG_TARGET_VEXPRESS64_JUNO +/* Top 16MB reserved for secure use */ +#define DRAM_SEC_SIZE 0x00E00000 +#define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SCP_SIZE - DRAM_SEC_SIZE +#else +#define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SCP_SIZE /* 2048 MB */ +#endif + #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 /* Initial environment variables */ |