Patrick Williams | 975a06f | 2022-10-21 14:42:47 -0500 | [diff] [blame^] | 1 | From 07ad7e1f7ba06045bf331d5b73a6adf38a098fb7 Mon Sep 17 00:00:00 2001 |
| 2 | From: Rui Miguel Silva <rui.silva@linaro.org> |
| 3 | Date: Tue, 11 Oct 2022 10:46:10 +0100 |
| 4 | Subject: [PATCH 19/19] plat: corstone1000: change default smm values |
| 5 | |
| 6 | Smm gateway uses SE proxy to route the calls for any NV |
| 7 | storage so set the NV_STORE_SN. |
| 8 | Change the storage index uid because TF-M in the secure |
| 9 | enclave reserves the default value (0x1) to some internal |
| 10 | operation. |
| 11 | Increase the maximum number of uefi variables to cope with all |
| 12 | the needs for testing and certification |
| 13 | |
| 14 | Upstream-Status: Pending |
| 15 | Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com> |
| 16 | Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> |
| 17 | --- |
| 18 | platform/providers/arm/corstone1000/platform.cmake | 6 ++++++ |
| 19 | 1 file changed, 6 insertions(+) |
| 20 | |
| 21 | diff --git a/platform/providers/arm/corstone1000/platform.cmake b/platform/providers/arm/corstone1000/platform.cmake |
| 22 | index 51e5faa3e4d8..04b629a81906 100644 |
| 23 | --- a/platform/providers/arm/corstone1000/platform.cmake |
| 24 | +++ b/platform/providers/arm/corstone1000/platform.cmake |
| 25 | @@ -10,3 +10,9 @@ |
| 26 | include(${TS_ROOT}/platform/drivers/arm/mhu_driver/component.cmake) |
| 27 | |
| 28 | add_compile_definitions(MBEDTLS_ECP_DP_SECP521R1_ENABLED) |
| 29 | + |
| 30 | +target_compile_definitions(${TGT} PRIVATE |
| 31 | + SMM_GATEWAY_NV_STORE_SN="sn:ffa:46bb39d1-b4d9-45b5-88ff-040027dab249:1" |
| 32 | + SMM_VARIABLE_INDEX_STORAGE_UID=0x787 |
| 33 | + SMM_GATEWAY_MAX_UEFI_VARIABLES=100 |
| 34 | +) |
| 35 | -- |
| 36 | 2.38.0 |
| 37 | |