Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | Upstream-Status: Pending [Not submitted to upstream yet] |
| 2 | Signed-off-by: Arpita S.K <arpita.s.k@arm.com> |
| 3 | |
| 4 | From dbaf7a11e686d362eb09e63841eb718ea777dd03 Mon Sep 17 00:00:00 2001 |
| 5 | From: Vishnu Banavath <vishnu.banavath@arm.com> |
| 6 | Date: Wed, 1 Sep 2021 16:46:42 +0100 |
| 7 | Subject: [PATCH] plat-corstone1000: reserve 3MB CVM memory for optee |
| 8 | |
| 9 | optee requires 3MB CVM memory to include SecurePartition's into |
| 10 | it's image |
| 11 | |
| 12 | Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com> |
| 13 | |
| 14 | diff --git a/core/arch/arm/plat-corstone1000/conf.mk b/core/arch/arm/plat-corstone1000/conf.mk |
| 15 | index 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 | -- |
| 29 | 2.17.1 |
| 30 | |