-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optee-os: imx: configure SHMEM section
Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
recipes-security/optee/optee-os/0001-plat-imx-configure-the-SHMEM-section.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From e915a809d0f03e0f2ebb3ad585b2206c0d4b2511 Mon Sep 17 00:00:00 2001 | ||
From: Jorge Ramirez-Ortiz <[email protected]> | ||
Date: Sun, 27 Oct 2019 16:39:45 +0100 | ||
Subject: [PATCH 1/2] [FIO toup] plat-imx: configure the SHMEM section | ||
|
||
Signed-off-by: Jorge Ramirez-Ortiz <[email protected]> | ||
--- | ||
core/arch/arm/plat-imx/main.c | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/core/arch/arm/plat-imx/main.c b/core/arch/arm/plat-imx/main.c | ||
index c632fa85..602365b5 100644 | ||
--- a/core/arch/arm/plat-imx/main.c | ||
+++ b/core/arch/arm/plat-imx/main.c | ||
@@ -112,6 +112,10 @@ register_phys_mem(MEM_AREA_TEE_COHERENT, | ||
CORE_MMU_PGDIR_SIZE); | ||
#endif | ||
|
||
+#ifdef TEE_SHMEM_START | ||
+register_dynamic_shm(TEE_SHMEM_START, TEE_SHMEM_SIZE); | ||
+#endif | ||
+ | ||
#if defined(CFG_PL310) | ||
register_phys_mem_pgdir(MEM_AREA_IO_SEC, | ||
ROUNDDOWN(PL310_BASE, CORE_MMU_PGDIR_SIZE), | ||
-- | ||
2.17.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters