]> git.proxmox.com Git - mirror_edk2.git/blobdiff - QuarkPlatformPkg/Library/Tpm12DeviceLibAtmelI2c/TisPc.c
QuarkPlatformPkg/Tpm12DeviceLibAtmelI2c: Remove PP Check
[mirror_edk2.git] / QuarkPlatformPkg / Library / Tpm12DeviceLibAtmelI2c / TisPc.c
index 4e5aa4137074415c0dba891efcdeeff85964c584..08a005f1fd08bf758306496f27669d6dbc039436 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Basic TIS (TPM Interface Specification) functions for Atmel I2C TPM.\r
 \r
-  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2016 - 2017, 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
@@ -18,7 +18,6 @@
 #include <Library/TimerLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/I2cLib.h>\r
-#include <Library/Tpm12CommandLib.h>\r
 \r
 //\r
 // Atmel I2C TPM slave address\r
@@ -224,15 +223,6 @@ Tpm12RequestUseTpm (
     }\r
   } while (EFI_ERROR (Status));\r
 \r
-  //\r
-  // Send Physical Presence Command to Atmel I2C TPM\r
-  //\r
-  Status = Tpm12PhysicalPresence (TPM_PHYSICAL_PRESENCE_PRESENT);\r
-  if (EFI_ERROR (Status)) {\r
-    DEBUG ((EFI_D_ERROR, "Atmel I2C TPM failed to submit physical presence command: %r\n", Status));\r
-    return Status;\r
-  }\r
-\r
   return EFI_SUCCESS;\r
 }\r
 \r