diff mbox series

[9/9] arm-bsp/trusted-services: pass MM_COMM_BUFFER_SIZE to the libts build

Message ID 20250520172748.3439803-9-gyorgy.szing@arm.com
State New
Headers show
Series [1/9] arm/trusted-services: update to newer version | expand

Commit Message

Gyorgy Szing May 20, 2025, 5:27 p.m. UTC
From: Bence Balogh <bence.balogh@arm.com>

The libts deployment expects the MM Communication buffer size to be
provided using the "MM_COMM_BUFFER_SIZE" variable.
Previously the default value which is set in the [1] was not overridden
here in the recipe because of this.

The size of the MM Communication buffers are not changed in this
commit, the page size is 0x1000.

[1] https://git.trustedfirmware.org/plugins/gitiles/TS/trusted-services.git/+/refs/tags/v1.1.0/deployments/libts/arm-linux/CMakeLists.txt#24

Signed-off-by: Bence Balogh <bence.balogh@arm.com>
---
 .../recipes-security/trusted-services/libts_%.bbappend        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-security/trusted-services/libts_%.bbappend b/meta-arm-bsp/recipes-security/trusted-services/libts_%.bbappend
index 2ae28c89..7871b1e5 100644
--- a/meta-arm-bsp/recipes-security/trusted-services/libts_%.bbappend
+++ b/meta-arm-bsp/recipes-security/trusted-services/libts_%.bbappend
@@ -1,9 +1,9 @@ 
 require ts-arm-platforms.inc
 
 EXTRA_OECMAKE:append:corstone1000 = "-DMM_COMM_BUFFER_ADDRESS=0x81FFF000 \
-                                     -DMM_COMM_BUFFER_PAGE_COUNT=1 \
+                                     -DMM_COMM_BUFFER_SIZE=0x1000 \
                                     "
 
 EXTRA_OECMAKE:append:fvp-base = " -DMM_COMM_BUFFER_ADDRESS=0x81000000 \
-                                  -DMM_COMM_BUFFER_PAGE_COUNT=8 \
+                                  -DMM_COMM_BUFFER_SIZE=0x8000 \
     "