/** @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
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