new file mode 100644
@@ -0,0 +1,34 @@
+From f7082b1d74a7056fff11bc21142a14f7f7b4635b Mon Sep 17 00:00:00 2001
+From: Ali Can Ozaslan <ali.oezaslan@arm.com>
+Date: Mon, 15 Jul 2024 13:03:24 +0000
+Subject: [PATCH 1/1] platform: corstone1000: Increase flash PS area size
+
+Aim of this is to increase the size of PS storage in Secure Flash.
+
+Increasing the size minimize the possibilities of it to run out
+of memory.
+
+FLASH_PS_AREA_SIZE is increased.
+
+Signed-off-by: Ali Can Ozaslan <ali.oezaslan@arm.com>
+Upstream-Status: Pending [Not submitted to upstream yet]
+---
+ platform/ext/target/arm/corstone1000/partition/flash_layout.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/platform/ext/target/arm/corstone1000/partition/flash_layout.h b/platform/ext/target/arm/corstone1000/partition/flash_layout.h
+index 568c8de28..b163b9c31 100644
+--- a/platform/ext/target/arm/corstone1000/partition/flash_layout.h
++++ b/platform/ext/target/arm/corstone1000/partition/flash_layout.h
+@@ -194,7 +194,7 @@
+
+ #define FLASH_PS_AREA_OFFSET (FLASH_ITS_AREA_OFFSET + \
+ FLASH_ITS_AREA_SIZE)
+-#define FLASH_PS_AREA_SIZE (16 * SECURE_FLASH_SECTOR_SIZE)
++#define FLASH_PS_AREA_SIZE (96 * SECURE_FLASH_SECTOR_SIZE)
+
+ /* OTP_definitions */
+ #define FLASH_OTP_NV_COUNTERS_AREA_OFFSET (FLASH_PS_AREA_OFFSET + \
+--
+2.34.1
+
@@ -32,6 +32,7 @@ SRC_URI:append:corstone1000 = " \
file://0012-corstone1000-Remove-reset-after-capsule-update.patch \
file://0013-platform-CS1000-Add-multicore-support-for-FVP.patch \
file://0014-Platform-Corstone1000-switch-to-metadata-v2.patch \
+ file://0015-platform-corstone1000-Increase-flash-PS-area-size.patch \
"
# TF-M ships patches for external dependencies that needs to be applied