]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TcgConfigDxe/TcgConfig.vfr
SecurityPkg: Tcg2Dxe: Report correct FinalEventLog size
[mirror_edk2.git] / SecurityPkg / Tcg / TcgConfigDxe / TcgConfig.vfr
index e6a5b74600244a4d2dc6c510050872ec0ea78448..94e3229e883a4061fb7ada7f78c12439d247a2d8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   VFR file used by the TCG configuration component.\r
 \r
-Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials \r
 are licensed and made available under the terms and conditions of the BSD License \r
 which accompanies this distribution.  The full text of the license may be found at \r
@@ -30,27 +30,6 @@ formset
 \r
     subtitle text = STRING_TOKEN(STR_NULL);\r
 \r
-    suppressif TRUE;\r
-      checkbox varid   = TCG_CONFIGURATION.TpmEnable,\r
-              prompt   = STRING_TOKEN(STR_NULL),\r
-              help     = STRING_TOKEN(STR_NULL),\r
-      endcheckbox;\r
-    endif;\r
-\r
-    suppressif TRUE;\r
-      checkbox varid   = TCG_CONFIGURATION.TpmActivate,\r
-              prompt   = STRING_TOKEN(STR_NULL),\r
-              help     = STRING_TOKEN(STR_NULL),\r
-      endcheckbox;\r
-    endif;\r
-\r
-    suppressif TRUE;\r
-      checkbox varid   = TCG_CONFIGURATION.OriginalHideTpm,\r
-              prompt   = STRING_TOKEN(STR_NULL),\r
-              help     = STRING_TOKEN(STR_NULL),\r
-      endcheckbox;\r
-    endif;\r
-\r
     text\r
       help   = STRING_TOKEN(STR_TPM_STATE_HELP),\r
       text   = STRING_TOKEN(STR_TPM_STATE_PROMPT),\r
@@ -58,23 +37,11 @@ formset
 \r
     subtitle text = STRING_TOKEN(STR_NULL);\r
 \r
-    label LABEL_TCG_CONFIGURATION_HIDETPM;\r
-\r
-    checkbox varid = TCG_CONFIGURATION.HideTpm,\r
-          questionid  = KEY_HIDE_TPM,\r
-          prompt      = STRING_TOKEN(STR_HIDE_TPM_PROMPT),\r
-          help        = STRING_TOKEN(STR_HIDE_TPM_HELP),\r
-          flags       = RESET_REQUIRED,\r
-    endcheckbox;\r
-\r
-    label LABEL_END;\r
-\r
-    grayoutif ideqval TCG_CONFIGURATION.OriginalHideTpm == 1;\r
     oneof varid  = TCG_CONFIGURATION.TpmOperation,\r
           questionid = KEY_TPM_ACTION,\r
           prompt = STRING_TOKEN(STR_TPM_OPERATION),\r
           help   = STRING_TOKEN(STR_TPM_OPERATION_HELP),\r
-          flags  = INTERACTIVE,\r
+          flags  = INTERACTIVE | RESET_REQUIRED,\r
           //\r
           // Disable (TPM_ORD_PhysicalDisable) command is not available when disabled.\r
           // Activate/deactivate (TPM_ORD_physicalSetDeactivated) command is not available when disabled.\r
@@ -94,7 +61,7 @@ formset
             option text = STRING_TOKEN(STR_TPM_CLEAR_ENABLE_ACTIVATE), value = PHYSICAL_PRESENCE_CLEAR_ENABLE_ACTIVATE, flags = 0;\r
           endif\r
 \r
-          option text = STRING_TOKEN(STR_ENABLE), value = PHYSICAL_PRESENCE_ENABLE, flags = 0;\r
+          option text = STRING_TOKEN(STR_ENABLE), value = PHYSICAL_PRESENCE_ENABLE, flags = DEFAULT;\r
           option text = STRING_TOKEN(STR_TPM_ENABLE_ACTIVATE), value = PHYSICAL_PRESENCE_ENABLE_ACTIVATE, flags = 0;          \r
           option text = STRING_TOKEN(STR_TPM_ENABLE_ACTIVATE_CLEAR), value = PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR, flags = 0;\r
           option text = STRING_TOKEN(STR_TPM_ENABLE_ACTIVATE_CLEAR_E_A), value = PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR_ENABLE_ACTIVATE, flags = 0;\r
@@ -102,13 +69,6 @@ formset
 \r
     subtitle text = STRING_TOKEN(STR_NULL);\r
 \r
-    checkbox varid = TCG_CONFIGURATION.MorState,\r
-          questionid = KEY_TPM_MOR_ENABLE,\r
-          prompt = STRING_TOKEN(STR_MOR_PROMPT),\r
-          help   = STRING_TOKEN(STR_MOR_HELP),\r
-    endcheckbox; \r
-    endif;\r
-\r
   endform;\r
 \r
 endformset;\r