mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 16:59:30 +00:00
arm-bsp/trusted-firmware-m: Increase assets number for corstone1000
Enabling new features on tfm for corstone1000 increases the number of ITS and PS assets needed. This patch increases the number of PS and ITS assets and fixes regression on psa-ps-api-tests. Signed-off-by: Emekcan Aras <emekcan.aras@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
From 34263d1ea99da7b8a680a80601a73149bc9530e5 Mon Sep 17 00:00:00 2001
|
||||
From: Emekcan Aras <emekcan.aras@arm.com>
|
||||
Date: Fri, 21 Apr 2023 15:17:21 +0100
|
||||
Subject: [PATCH] Platform: corstone1000: Increase number of assets
|
||||
|
||||
As Corstone1000 stores at boot time few efi variables.
|
||||
Therefore, number of assets is increased to compansate this early usage.
|
||||
|
||||
Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/20656]
|
||||
Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
|
||||
Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
|
||||
Change-Id: Id8555a09335ce13b80c07a33c4d913f5cb0f9084
|
||||
---
|
||||
platform/ext/target/arm/corstone1000/config_tfm_target.h | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/platform/ext/target/arm/corstone1000/config_tfm_target.h b/platform/ext/target/arm/corstone1000/config_tfm_target.h
|
||||
index bf8d2f95f..e96836663 100644
|
||||
--- a/platform/ext/target/arm/corstone1000/config_tfm_target.h
|
||||
+++ b/platform/ext/target/arm/corstone1000/config_tfm_target.h
|
||||
@@ -16,4 +16,12 @@
|
||||
#undef PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE
|
||||
#define PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE 256
|
||||
|
||||
+/* The maximum number of assets to be stored in the Internal Trusted Storage. */
|
||||
+#undef ITS_NUM_ASSETS
|
||||
+#define ITS_NUM_ASSETS 20
|
||||
+
|
||||
+/* The maximum number of assets to be stored in the Protected Storage area. */
|
||||
+#undef PS_NUM_ASSETS
|
||||
+#define PS_NUM_ASSETS 20
|
||||
+
|
||||
#endif /* __CONFIG_TFM_TARGET_H__ */
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -47,6 +47,7 @@ SRC_URI:append:corstone1000 = " \
|
||||
file://0009-Platform-corstone1000-fix-flash-reading-issue-for-fi.patch \
|
||||
file://0010-Platform-corstone1000-Adds-compiler-flags-to-FWU-age.patch \
|
||||
file://0011-Platform-corstone1000-adjust-PS-asset-configuration.patch \
|
||||
file://0012-Platform-corstone1000-Increase-number-of-assets.patch \
|
||||
file://corstone1000/rwx.patch \
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user