]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/Tcg2Config/TpmDetection.c
SecurityPkg: Change use of EFI_D_* to DEBUG_*
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Config / TpmDetection.c
index eeaadc5e2f49f1a1382459855608b94206c2cc16..57d3638f0c2a0183f34ee098bf1d58ca1bfa0a5e 100644 (file)
@@ -47,7 +47,7 @@ DetectTpmDevice (
   // In S3, we rely on normal boot Detection, because we save to ReadOnly Variable in normal boot.\r
   //\r
   if (BootMode == BOOT_ON_S3_RESUME) {\r
-    DEBUG ((EFI_D_INFO, "DetectTpmDevice: S3 mode\n"));\r
+    DEBUG ((DEBUG_INFO, "DetectTpmDevice: S3 mode\n"));\r
 \r
     Status = PeiServicesLocatePpi (&gEfiPeiReadOnlyVariable2PpiGuid, 0, NULL, (VOID **) &VariablePpi);\r
     ASSERT_EFI_ERROR (Status);\r
@@ -65,12 +65,12 @@ DetectTpmDevice (
     if (!EFI_ERROR (Status) &&\r
         (Tcg2DeviceDetection.TpmDeviceDetected >= TPM_DEVICE_MIN) &&\r
         (Tcg2DeviceDetection.TpmDeviceDetected <= TPM_DEVICE_MAX)) {\r
-      DEBUG ((EFI_D_ERROR, "TpmDevice from DeviceDetection: %x\n", Tcg2DeviceDetection.TpmDeviceDetected));\r
+      DEBUG ((DEBUG_ERROR, "TpmDevice from DeviceDetection: %x\n", Tcg2DeviceDetection.TpmDeviceDetected));\r
       return Tcg2DeviceDetection.TpmDeviceDetected;\r
     }\r
   }\r
 \r
-  DEBUG ((EFI_D_INFO, "DetectTpmDevice:\n"));\r
+  DEBUG ((DEBUG_INFO, "DetectTpmDevice:\n"));\r
 \r
   // dTPM available and not disabled by setup\r
   // We need check if it is TPM1.2 or TPM2.0\r