Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame^] | 1 | From c519bae79629bfe551d79cfeb4e7d8a059545145 Mon Sep 17 00:00:00 2001 |
Patrick Williams | 975a06f | 2022-10-21 14:42:47 -0500 | [diff] [blame] | 2 | From: Rui Miguel Silva <rui.silva@linaro.org> |
| 3 | Date: Tue, 11 Oct 2022 10:46:10 +0100 |
Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame^] | 4 | Subject: [PATCH 19/20] plat: corstone1000: change default smm values |
Patrick Williams | 975a06f | 2022-10-21 14:42:47 -0500 | [diff] [blame] | 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 | -- |
Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame^] | 36 | 2.38.1 |
Patrick Williams | 975a06f | 2022-10-21 14:42:47 -0500 | [diff] [blame] | 37 | |