]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Tcg/TcgConfigDxe/TcgConfig.vfr
Remove hide TPM support.
[mirror_edk2.git] / SecurityPkg / Tcg / TcgConfigDxe / TcgConfig.vfr
CommitLineData
0c18794e 1/** @file\r
2 VFR file used by the TCG configuration component.\r
3\r
2bc36371 4Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>\r
0c18794e 5This program and the accompanying materials \r
6are licensed and made available under the terms and conditions of the BSD License \r
7which accompanies this distribution. The full text of the license may be found at \r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include "TcgConfigNvData.h"\r
16\r
17formset\r
a0c56a82 18 guid = TCG_CONFIG_FORM_SET_GUID,\r
0c18794e 19 title = STRING_TOKEN(STR_TPM_TITLE),\r
20 help = STRING_TOKEN(STR_TPM_HELP),\r
21 classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,\r
22\r
23 varstore TCG_CONFIGURATION,\r
24 varid = TCG_CONFIGURATION_VARSTORE_ID,\r
25 name = TCG_CONFIGURATION,\r
a0c56a82 26 guid = TCG_CONFIG_FORM_SET_GUID;\r
0c18794e 27\r
28 form formid = TCG_CONFIGURATION_FORM_ID,\r
29 title = STRING_TOKEN(STR_TPM_TITLE);\r
30\r
31 subtitle text = STRING_TOKEN(STR_NULL);\r
32\r
33 suppressif TRUE;\r
34 checkbox varid = TCG_CONFIGURATION.TpmEnable,\r
35 prompt = STRING_TOKEN(STR_NULL),\r
36 help = STRING_TOKEN(STR_NULL),\r
37 endcheckbox;\r
38 endif;\r
39\r
40 suppressif TRUE;\r
41 checkbox varid = TCG_CONFIGURATION.TpmActivate,\r
42 prompt = STRING_TOKEN(STR_NULL),\r
43 help = STRING_TOKEN(STR_NULL),\r
44 endcheckbox;\r
45 endif;\r
46\r
0c18794e 47 text\r
48 help = STRING_TOKEN(STR_TPM_STATE_HELP),\r
49 text = STRING_TOKEN(STR_TPM_STATE_PROMPT),\r
50 text = STRING_TOKEN(STR_TPM_STATE_CONTENT);\r
51\r
52 subtitle text = STRING_TOKEN(STR_NULL);\r
53\r
0c18794e 54 oneof varid = TCG_CONFIGURATION.TpmOperation,\r
55 questionid = KEY_TPM_ACTION,\r
56 prompt = STRING_TOKEN(STR_TPM_OPERATION),\r
57 help = STRING_TOKEN(STR_TPM_OPERATION_HELP),\r
58 flags = INTERACTIVE,\r
59 //\r
60 // Disable (TPM_ORD_PhysicalDisable) command is not available when disabled.\r
61 // Activate/deactivate (TPM_ORD_physicalSetDeactivated) command is not available when disabled.\r
62 //\r
63 suppressif ideqval TCG_CONFIGURATION.TpmEnable == 0;\r
54a26282 64 option text = STRING_TOKEN(STR_DISABLE), value = PHYSICAL_PRESENCE_DISABLE, flags = RESET_REQUIRED;\r
65 option text = STRING_TOKEN(STR_TPM_ACTIVATE), value = PHYSICAL_PRESENCE_ACTIVATE, flags = RESET_REQUIRED;\r
66 option text = STRING_TOKEN(STR_TPM_DEACTIVATE), value = PHYSICAL_PRESENCE_DEACTIVATE, flags = RESET_REQUIRED;\r
67 option text = STRING_TOKEN(STR_TPM_DEACTIVATE_DISABLE), value = PHYSICAL_PRESENCE_DEACTIVATE_DISABLE, flags = RESET_REQUIRED;\r
0c18794e 68 endif\r
69 //\r
70 // Clear (TPM_ORD_ForceClear) command is not available when disabled or deactivated. \r
71 //\r
72 suppressif ideqval TCG_CONFIGURATION.TpmEnable == 0 OR\r
73 ideqval TCG_CONFIGURATION.TpmActivate == 0;\r
54a26282 74 option text = STRING_TOKEN(STR_TPM_CLEAR), value = PHYSICAL_PRESENCE_CLEAR, flags = RESET_REQUIRED;\r
75 option text = STRING_TOKEN(STR_TPM_CLEAR_ENABLE_ACTIVATE), value = PHYSICAL_PRESENCE_CLEAR_ENABLE_ACTIVATE, flags = RESET_REQUIRED;\r
0c18794e 76 endif\r
77\r
54a26282 78 option text = STRING_TOKEN(STR_ENABLE), value = PHYSICAL_PRESENCE_ENABLE, flags = RESET_REQUIRED;\r
79 option text = STRING_TOKEN(STR_TPM_ENABLE_ACTIVATE), value = PHYSICAL_PRESENCE_ENABLE_ACTIVATE, flags = RESET_REQUIRED; \r
80 option text = STRING_TOKEN(STR_TPM_ENABLE_ACTIVATE_CLEAR), value = PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR, flags = RESET_REQUIRED;\r
81 option text = STRING_TOKEN(STR_TPM_ENABLE_ACTIVATE_CLEAR_E_A), value = PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR_ENABLE_ACTIVATE, flags = RESET_REQUIRED;\r
0c18794e 82 endoneof;\r
83\r
84 subtitle text = STRING_TOKEN(STR_NULL);\r
85\r
0c18794e 86 endform;\r
87\r
88endformset;\r