Downgrade one debug message level in DxeTpm2MeasureBootHandler from EFI_D_ERROR to...
authorYao, Jiewen <Jiewen.Yao@intel.com>
Tue, 28 Jul 2015 06:58:47 +0000 (06:58 +0000)
committerjyao1 <jyao1@Edk2>
Tue, 28 Jul 2015 06:58:47 +0000 (06:58 +0000)
No TPM2 is considered as valid case. For example, a platform may only have TPM1.2, without TPM2.0 So this is NOT an ERROR message, but more an INFO message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Chao Zhang" <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18091 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c

index 2f75219..a5d7fe5 100644 (file)
@@ -447,7 +447,7 @@ DxeTpm2MeasureBootHandler (
     // TrEE protocol is not installed. So, TPM2 is not present.\r
     // Don't do any measurement, and directly return EFI_SUCCESS.\r
     //\r
-    DEBUG ((EFI_D_ERROR, "DxeTpm2MeasureBootHandler - TrEE - %r\n", Status));\r
+    DEBUG ((EFI_D_INFO, "DxeTpm2MeasureBootHandler - TrEE - %r\n", Status));\r
     return EFI_SUCCESS;\r
   }\r
 \r