Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 1 | From 34263d1ea99da7b8a680a80601a73149bc9530e5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Emekcan Aras <emekcan.aras@arm.com> |
| 3 | Date: Fri, 21 Apr 2023 15:17:21 +0100 |
| 4 | Subject: [PATCH] Platform: corstone1000: Increase number of assets |
| 5 | |
| 6 | As Corstone1000 stores at boot time few efi variables. |
| 7 | Therefore, number of assets is increased to compansate this early usage. |
| 8 | |
| 9 | Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/20656] |
| 10 | Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com> |
| 11 | Signed-off-by: Emekcan Aras <emekcan.aras@arm.com> |
| 12 | Change-Id: Id8555a09335ce13b80c07a33c4d913f5cb0f9084 |
| 13 | --- |
| 14 | platform/ext/target/arm/corstone1000/config_tfm_target.h | 8 ++++++++ |
| 15 | 1 file changed, 8 insertions(+) |
| 16 | |
| 17 | diff --git a/platform/ext/target/arm/corstone1000/config_tfm_target.h b/platform/ext/target/arm/corstone1000/config_tfm_target.h |
| 18 | index 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 | -- |
| 35 | 2.17.1 |
| 36 | |