aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm/plat-vexpress
diff options
context:
space:
mode:
authorPascal Brand <pascal.brand@st.com>2016-03-22 20:58:01 +0100
committerPascal Brand <pascal.brand@st.com>2016-03-24 10:24:45 +0100
commit6da451b203aee2701bb9776efd6bd4a7a4cd2a96 (patch)
tree31a5e79cfe4054748b57257f72d659b6ad21c9df /core/arch/arm/plat-vexpress
parentff3dc8402d97d4753af7a6d872fecf2035285592 (diff)
stm,vexpress: increase shared memory size from 1 to 2 MiB
This is needed to run the latest "generic driver" configuration. When the shared memory pool is 1 MiB, xtest 7633 fails with a TA panic due to memory allocation error. This commit increases the size of the shared memory pool so that the test will pass. Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
Diffstat (limited to 'core/arch/arm/plat-vexpress')
-rw-r--r--core/arch/arm/plat-vexpress/platform_config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/arch/arm/plat-vexpress/platform_config.h b/core/arch/arm/plat-vexpress/platform_config.h
index 2b5cbfd4..5b0e5298 100644
--- a/core/arch/arm/plat-vexpress/platform_config.h
+++ b/core/arch/arm/plat-vexpress/platform_config.h
@@ -137,7 +137,7 @@
#define CFG_TEE_CORE_NB_CORE 8
#define CFG_SHMEM_START (DRAM0_BASE + 0x3000000)
-#define CFG_SHMEM_SIZE 0x100000
+#define CFG_SHMEM_SIZE 0x200000
#define GICC_OFFSET 0x0
#define GICD_OFFSET 0x3000000
@@ -177,7 +177,7 @@
#define CFG_TEE_CORE_NB_CORE 6
#define CFG_SHMEM_START (DRAM0_BASE + DRAM0_SIZE - CFG_SHMEM_SIZE)
-#define CFG_SHMEM_SIZE 0x100000
+#define CFG_SHMEM_SIZE 0x200000
#define GICC_OFFSET 0x1f000
#define GICD_OFFSET 0
@@ -214,7 +214,7 @@
#define CFG_SHMEM_START (DRAM0_TEERES_BASE + \
(DRAM0_TEERES_SIZE - CFG_SHMEM_SIZE))
-#define CFG_SHMEM_SIZE (1024 * 1024)
+#define CFG_SHMEM_SIZE 0x200000
#define GICD_OFFSET 0
#define GICC_OFFSET 0x10000
@@ -239,7 +239,7 @@
#define CFG_SHMEM_START (DRAM0_TEERES_BASE + \
(DRAM0_TEERES_SIZE - CFG_SHMEM_SIZE))
-#define CFG_SHMEM_SIZE (1024 * 1024)
+#define CFG_SHMEM_SIZE 0x200000
#else
#error "Unknown platform flavor"