Procházet zdrojové kódy

arm-bsp/trusted-firmware-m: corstone1000: increase RSE_COMMS buff size

The buffer size has to be increased to fit the EFI variables which got
increased metadata sizes.

Signed-off-by: Bence Balogh <bence.balogh@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
Bence Balogh před 1 rokem
rodič
revize
1200a59db6

+ 2 - 2
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0009-platform-CS1000-Increase-RSE_COMMS-buffer-size.patch → meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0009-platform-corstone1000-Increase-RSE_COMMS-buffer-size.patch

@@ -1,7 +1,7 @@
 From 21b0c9f028b6b04fa2f027510ec90969735f4dd1 Mon Sep 17 00:00:00 2001
 From: Bence Balogh <bence.balogh@arm.com>
 Date: Wed, 17 Apr 2024 19:31:03 +0200
-Subject: [PATCH] platform: CS1000: Increase RSE_COMMS buffer size
+Subject: [PATCH] platform: corstone1000: Increase RSE_COMMS buffer size
 
 Signed-off-by: Bence Balogh <bence.balogh@arm.com>
 Upstream-Status: Pending
@@ -18,7 +18,7 @@ index 6d79dd3bf..f079f6504 100644
  
   /* size suits to fit the largest message too (EFI variables) */
 -#define RSE_COMMS_PAYLOAD_MAX_SIZE (0x2100)
-+#define RSE_COMMS_PAYLOAD_MAX_SIZE (0x3B00)
++#define RSE_COMMS_PAYLOAD_MAX_SIZE (0x43C0)
  
  /*
   * Allocated for each client request.

+ 1 - 1
meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m-corstone1000.inc

@@ -25,7 +25,7 @@ SRC_URI:append:corstone1000 = " \
     file://0006-Platform-Corstone1000-Enable-host-firewall-in-FVP.patch \
     file://0007-platform-corstone1000-Increase-ITS-max-asset-size.patch \
     file://0008-Platform-CS1000-Replace-OpenAMP-with-RSE_COMMS.patch \
-    file://0009-platform-CS1000-Increase-RSE_COMMS-buffer-size.patch \
+    file://0009-platform-corstone1000-Increase-RSE_COMMS-buffer-size.patch \
     file://0010-CC312-alignment-of-cc312-differences-between-fvp-and.patch \
     file://0011-Platform-corstone1000-Increase-buffers-for-EFI-vars.patch \
     "