blob: ea60fee297bcfd69a59a54a7efab1459f9a2fe36 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001Upstream-Status: Pending [Not submitted to upstream yet]
2Signed-off-by: Arpita S.K <arpita.s.k@arm.com>
3
4From dbaf7a11e686d362eb09e63841eb718ea777dd03 Mon Sep 17 00:00:00 2001
5From: Vishnu Banavath <vishnu.banavath@arm.com>
6Date: Wed, 1 Sep 2021 16:46:42 +0100
7Subject: [PATCH] plat-corstone1000: reserve 3MB CVM memory for optee
8
9optee requires 3MB CVM memory to include SecurePartition's into
10it's image
11
12Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
13
14diff --git a/core/arch/arm/plat-corstone1000/conf.mk b/core/arch/arm/plat-corstone1000/conf.mk
15index b14dd442..7a4aa13c 100644
16--- a/core/arch/arm/plat-corstone1000/conf.mk
17+++ b/core/arch/arm/plat-corstone1000/conf.mk
18@@ -23,8 +23,7 @@ CFG_WITH_LPAE ?=y
19
20 CFG_TEE_CORE_NB_CORE = 1
21 CFG_TZDRAM_START ?= 0x02002000
22-CFG_TZDRAM_SIZE ?= 0x000FE000
23-CFG_TEE_RAM_VA_SIZE ?= 0x00AF000
24+CFG_TZDRAM_SIZE ?= 0x300000 # OPTEE CODE + DATA +TA_RAM = 3MB
25 CFG_SHMEM_START ?= 0x86000000
26 CFG_SHMEM_SIZE ?= 0x00200000
27
28--
292.17.1
30