blob: f0368b84f914521ef5a307efcfeda91ea1a06ef1 [file] [log] [blame]
Andrew Geissler9347dd42023-03-03 12:38:41 -06001From decb355247c4ba4b876997f55c27ec3f55dbacd2 Mon Sep 17 00:00:00 2001
2From: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
3Date: Mon, 23 Jan 2023 13:25:28 +0000
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
9Note: Adding platform customized configs to config_tfm.h
10 More information see:
11https://tf-m-user-guide.trustedfirmware.org/configuration/header_file_system.html
12
13Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
14Upstream-Status: Pending [Not submitted yet]
15---
16 platform/ext/target/arm/corstone1000/config_tfm_target.h | 8 ++++++++
17 1 file changed, 8 insertions(+)
18
19diff --git a/platform/ext/target/arm/corstone1000/config_tfm_target.h b/platform/ext/target/arm/corstone1000/config_tfm_target.h
20index bf8d2f95f7..e968366639 100644
21--- a/platform/ext/target/arm/corstone1000/config_tfm_target.h
22+++ b/platform/ext/target/arm/corstone1000/config_tfm_target.h
23@@ -16,4 +16,12 @@
24 #undef PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE
25 #define PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE 256
26
27+/* The maximum number of assets to be stored in the Internal Trusted Storage. */
28+#undef ITS_NUM_ASSETS
29+#define ITS_NUM_ASSETS 20
30+
31+/* The maximum number of assets to be stored in the Protected Storage area. */
32+#undef PS_NUM_ASSETS
33+#define PS_NUM_ASSETS 20
34+
35 #endif /* __CONFIG_TFM_TARGET_H__ */
36--
372.25.1
38