aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm/plat-vexpress
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2016-09-27 12:33:00 -0700
committerJens Wiklander <jens.wiklander@linaro.org>2016-09-27 15:57:54 -0700
commit79a90f9b04ce3c0b9360ca40a3a359d605486592 (patch)
tree23aaccf475383db5f0284a27912938b7e6844a3a /core/arch/arm/plat-vexpress
parent09871a7a807234e258b24b7b3d9709f04f937b5c (diff)
core: add default CFG_CORE_TZSRAM_EMUL_SIZE
Adds a CFG_CORE_TZSRAM_EMUL_SIZE replacing the previous value directly defined in TZSRAM_SIZE in each platform_config.h. Default value is defined in core/arch/arm/arm.mk as 300 kB. This is larger than most of the previous values. Platforms with TZSRAM_SIZE defined larger than 200 kB overrides the core/arch/arm/arm.mk setting with a $(platform-dir)/conf.mk setting using the previous value. Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/arch/arm/plat-vexpress')
-rw-r--r--core/arch/arm/plat-vexpress/platform_config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/arch/arm/plat-vexpress/platform_config.h b/core/arch/arm/plat-vexpress/platform_config.h
index fa46d46c..c146c0b2 100644
--- a/core/arch/arm/plat-vexpress/platform_config.h
+++ b/core/arch/arm/plat-vexpress/platform_config.h
@@ -115,7 +115,7 @@
/* Emulated SRAM */
#define TZSRAM_BASE (0x06000000)
-#define TZSRAM_SIZE (200 * 1024)
+#define TZSRAM_SIZE CFG_CORE_TZSRAM_EMUL_SIZE
#define TZDRAM_BASE (TZSRAM_BASE + CFG_TEE_RAM_VA_SIZE)
#define TZDRAM_SIZE (0x02000000 - CFG_TEE_RAM_VA_SIZE)
@@ -148,7 +148,7 @@
/* Emulated SRAM */
#define TZSRAM_BASE 0xFF000000
-#define TZSRAM_SIZE (200 * 1024)
+#define TZSRAM_SIZE CFG_CORE_TZSRAM_EMUL_SIZE
#define TZDRAM_BASE (TZSRAM_BASE + CFG_TEE_RAM_VA_SIZE)
#define TZDRAM_SIZE (0x00E00000 - CFG_TEE_RAM_VA_SIZE)
@@ -191,7 +191,7 @@
/* Emulated SRAM */
#define TZSRAM_BASE DRAM0_TEERES_BASE
-#define TZSRAM_SIZE (200 * 1024)
+#define TZSRAM_SIZE CFG_CORE_TZSRAM_EMUL_SIZE
#define TZDRAM_BASE (DRAM0_TEERES_BASE + CFG_TEE_RAM_VA_SIZE)
#define TZDRAM_SIZE (DRAM0_TEERES_SIZE - CFG_TEE_RAM_VA_SIZE \