]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TrEEConfig/TpmDetection.c
Remove hide TPM support.
[mirror_edk2.git] / SecurityPkg / Tcg / TrEEConfig / TpmDetection.c
index ce7a9a1974c77f098502e5b47e2aca264a300691..516f7c92a3097787ec3a9c4665db92cf555e3ba9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   TPM1.2/dTPM2.0 auto detection.\r
 \r
-Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2013 - 2014, 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
@@ -69,11 +69,6 @@ DetectTpmDevice (
   EFI_PEI_READ_ONLY_VARIABLE2_PPI   *VariablePpi;\r
   UINTN                             Size;\r
 \r
-  if (PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm)) {\r
-    DEBUG ((EFI_D_ERROR, "DetectTpmDevice: Tpm is hide\n"));\r
-    return TPM_DEVICE_NULL;\r
-  }\r
-\r
   Status = PeiServicesGetBootMode (&BootMode);\r
   ASSERT_EFI_ERROR (Status);\r
 \r