Andrew Geissler | 9347dd4 | 2023-03-03 12:38:41 -0600 | [diff] [blame^] | 1 | From decb355247c4ba4b876997f55c27ec3f55dbacd2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mohamed Omar Asaker <mohamed.omarasaker@arm.com> |
| 3 | Date: Mon, 23 Jan 2023 13:25:28 +0000 |
| 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 | Note: Adding platform customized configs to config_tfm.h |
| 10 | More information see: |
| 11 | https://tf-m-user-guide.trustedfirmware.org/configuration/header_file_system.html |
| 12 | |
| 13 | Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com> |
| 14 | Upstream-Status: Pending [Not submitted yet] |
| 15 | --- |
| 16 | platform/ext/target/arm/corstone1000/config_tfm_target.h | 8 ++++++++ |
| 17 | 1 file changed, 8 insertions(+) |
| 18 | |
| 19 | diff --git a/platform/ext/target/arm/corstone1000/config_tfm_target.h b/platform/ext/target/arm/corstone1000/config_tfm_target.h |
| 20 | index 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 | -- |
| 37 | 2.25.1 |
| 38 | |