summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c2
-rw-r--r--OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c b/OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c
index 5a1a69dcc3..b4dc927a0e 100644
--- a/OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c
+++ b/OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c
@@ -89,7 +89,7 @@ FreeResources:
FailedAllocate:
DEBUG ((
- EFI_D_ERROR,
+ DEBUG_ERROR,
"%a: Failed to allocate memory for hardware info\n",
__func__
));
diff --git a/OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c b/OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c
index 0925ab1166..d1cce9a089 100644
--- a/OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c
+++ b/OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c
@@ -49,7 +49,7 @@ InitRtc (
MmioWrite32 (mRtcBase + RTC_CTRL_REG, Val);
mInitialized = TRUE;
} else {
- DebugPrint (EFI_D_INFO, "RTC register address not found!\n");
+ DebugPrint (DEBUG_INFO, "RTC register address not found!\n");
ASSERT (FALSE);
}
}