blob: d2fc332d45a0cec0bb1b96cd1d547c431ecc326b [file] [log] [blame]
Patrick Williams8e7b46e2023-05-01 14:19:06 -05001From 34263d1ea99da7b8a680a80601a73149bc9530e5 Mon Sep 17 00:00:00 2001
2From: Emekcan Aras <emekcan.aras@arm.com>
3Date: Fri, 21 Apr 2023 15:17:21 +0100
4Subject: [PATCH] Platform: corstone1000: Increase number of assets
5
6As Corstone1000 stores at boot time few efi variables.
7Therefore, number of assets is increased to compansate this early usage.
8
9Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/20656]
10Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
11Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
12Change-Id: Id8555a09335ce13b80c07a33c4d913f5cb0f9084
13---
14 platform/ext/target/arm/corstone1000/config_tfm_target.h | 8 ++++++++
15 1 file changed, 8 insertions(+)
16
17diff --git a/platform/ext/target/arm/corstone1000/config_tfm_target.h b/platform/ext/target/arm/corstone1000/config_tfm_target.h
18index bf8d2f95f..e96836663 100644
19--- a/platform/ext/target/arm/corstone1000/config_tfm_target.h
20+++ b/platform/ext/target/arm/corstone1000/config_tfm_target.h
21@@ -16,4 +16,12 @@
22 #undef PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE
23 #define PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE 256
24
25+/* The maximum number of assets to be stored in the Internal Trusted Storage. */
26+#undef ITS_NUM_ASSETS
27+#define ITS_NUM_ASSETS 20
28+
29+/* The maximum number of assets to be stored in the Protected Storage area. */
30+#undef PS_NUM_ASSETS
31+#define PS_NUM_ASSETS 20
32+
33 #endif /* __CONFIG_TFM_TARGET_H__ */
34--
352.17.1
36