SecurityPkg Tcg2ConfigDxe: Add setup option to configure PPI version
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=288 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer was introduced to configure physical presence interface version. but test or user needs to build different images to support different versions separately as the PCD does not support Dynamic types. This patch is to extend the PCD to support Dynamic types and add a setup option in Tcg2ConfigDxe driver to configure the physical presence interface version, the PCD needs to be DynamicHii type and maps to the setup option. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
This commit is contained in:
@@ -25,6 +25,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#string STR_TCG2_DEVICE_HELP #language en-US "Attempt TPM Device: TPM1.2, or TPM2.0"
|
||||
#string STR_TCG2_DEVICE_CONTENT #language en-US ""
|
||||
|
||||
#string STR_TCG2_PPI_VERSION_STATE_PROMPT #language en-US "Current PPI Version"
|
||||
#string STR_TCG2_PPI_VERSION_STATE_HELP #language en-US "Current PPI Version: 1.2 or 1.3"
|
||||
#string STR_TCG2_PPI_VERSION_STATE_CONTENT #language en-US ""
|
||||
|
||||
#string STR_TCG2_PPI_VERSION_PROMPT #language en-US "Attempt PPI Version"
|
||||
#string STR_TCG2_PPI_VERSION_HELP #language en-US "Attempt PPI Version: 1.2 or 1.3\n"
|
||||
"PcdTcgPhysicalPresenceInterfaceVer needs to be DynamicHii type and map to this option\n"
|
||||
"Otherwise the version configuring by this setup option will not work"
|
||||
|
||||
#string STR_TPM2_ACPI_HID_PROMPT #language en-US "HID from TPM2 ACPI Table"
|
||||
#string STR_TPM2_ACPI_HID_HELP #language en-US "HID from TPM2 ACPI Table: ManufacturerID + FirmwareVersion_1"
|
||||
#string STR_TPM2_ACPI_HID_CONTENT #language en-US ""
|
||||
@@ -65,6 +74,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#string STR_TCG2_TPM_1_2 #language en-US "TPM 1.2"
|
||||
#string STR_TCG2_TPM_2_0_DTPM #language en-US "TPM 2.0"
|
||||
|
||||
#string STR_TCG2_PPI_VERSION_1_2 #language en-US "1.2"
|
||||
#string STR_TCG2_PPI_VERSION_1_3 #language en-US "1.3"
|
||||
|
||||
#string STR_TPM2_ACTIVE_HASH_ALGO #language en-US "TPM2 Active PCR Hash Algorithm"
|
||||
#string STR_TPM2_ACTIVE_HASH_ALGO_HELP #language en-US "TPM2 Active PCR Hash Algorithm: SHA1, SHA256, SHA384, SHA512, SM3_256"
|
||||
#string STR_TPM2_ACTIVE_HASH_ALGO_CONTENT #language en-US ""
|
||||
|
Reference in New Issue
Block a user