new file mode 100644
@@ -0,0 +1,27 @@
+From 2edf197735bd0efb1428c1710443dddcb376d930 Mon Sep 17 00:00:00 2001
+From: Emekcan Aras <emekcan.aras@arm.com>
+Date: Wed, 17 Apr 2024 11:34:45 +0000
+Subject: [PATCH] platform: corstone1000: Increase ITS max asset size
+
+Increases the max asset size for ITS to enable parsec services & tests
+
+Upstream-Status: Pending
+Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
+Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
+---
+ platform/ext/target/arm/corstone1000/config_tfm_target.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/platform/ext/target/arm/corstone1000/config_tfm_target.h b/platform/ext/target/arm/corstone1000/config_tfm_target.h
+index 2c7341afd4..2eb0924770 100644
+--- a/platform/ext/target/arm/corstone1000/config_tfm_target.h
++++ b/platform/ext/target/arm/corstone1000/config_tfm_target.h
+@@ -20,4 +20,8 @@
+ /* The maximum number of assets to be stored in the Protected Storage area. */
+ #define PS_NUM_ASSETS 20
+
++/* The maximum size of asset to be stored in the Internal Trusted Storage area. */
++#undef ITS_MAX_ASSET_SIZE
++#define ITS_MAX_ASSET_SIZE 2048
++
+ #endif /* __CONFIG_TFM_TARGET_H__ */
@@ -41,6 +41,7 @@ SRC_URI:append:corstone1000 = " \
file://0006-Platform-Corstone1000-skip-the-first-nv-counter.patch \
file://0007-platform-corstone1000-add-unique-guid-for-mps3.patch \
file://0008-Platform-Corstone1000-Enable-host-firewall-in-FVP.patch \
+ file://0009-platform-corstone1000-Increase-ITS-max-asset-size.patch \
"
# TF-M ships patches for external dependencies that needs to be applied
From: Adam Johnston <adam.johnston@arm.com> A patch was dropped when trusted-firmware-m was updated to 2.0 but it had not yet been merged upstream (2.0 or master). Restore the patch to fix regression on Corstone-1000 --- ...tone1000-Increase-ITS-max-asset-size.patch | 27 +++++++++++++++++++ .../trusted-firmware-m-corstone1000.inc | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0009-platform-corstone1000-Increase-ITS-max-asset-size.patch