]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.c
SecurityPkg Tpm2DeviceLibDTpm: Update enum type name to match the one in lib
[mirror_edk2.git] / SecurityPkg / Library / PeiTcg2PhysicalPresenceLib / PeiTcg2PhysicalPresenceLib.c
index 81fe1b4d2cf0ab833010b996dc639d8db6d2f7e0..e1907189079dd27e367a05d7408a4c00b4cf84ce 100644 (file)
@@ -3,7 +3,7 @@
   \r
   This library will get TPM 2.0 physical presence information.\r
 \r
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2015 - 2016, 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
@@ -53,7 +53,7 @@ Tcg2PhysicalPresenceLibGetManagementFlags (
                           &PpiFlags\r
                           );\r
   if (EFI_ERROR (Status)) {\r
-    PpiFlags.PPFlags = TCG2_BIOS_TPM_MANAGEMENT_FLAG_DEFAULT;\r
+    PpiFlags.PPFlags = TCG2_BIOS_TPM_MANAGEMENT_FLAG_DEFAULT | TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_DEFAULT;\r
   }\r
   return PpiFlags.PPFlags;\r
 }\r