diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2021-11-16 19:21:15 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | c5b3a56e4f7e4361997544557511d6b835568193 (patch) | |
tree | 2c468c6d76b9916828aa1cf7796294e0c6460684 /ArmVirtPkg/Library/ArmVirtPL031FdtClientLib | |
parent | 1d2482e1e362729543d8966754a216dee00924c7 (diff) | |
download | edk2-c5b3a56e4f7e4361997544557511d6b835568193.tar.gz edk2-c5b3a56e4f7e4361997544557511d6b835568193.tar.bz2 edk2-c5b3a56e4f7e4361997544557511d6b835568193.zip |
ArmVirtPkg: Change use of EFI_D_* to DEBUG_*
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739
Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines.
Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'ArmVirtPkg/Library/ArmVirtPL031FdtClientLib')
-rw-r--r-- | ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c b/ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c index 87de25963e..63dc1476a5 100644 --- a/ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c +++ b/ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c @@ -36,7 +36,7 @@ ArmVirtPL031FdtClientLibConstructor ( Status = FdtClient->FindCompatibleNode (FdtClient, "arm,pl031", &Node);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_WARN, "%a: No 'arm,pl031' compatible DT node found\n",
+ DEBUG ((DEBUG_WARN, "%a: No 'arm,pl031' compatible DT node found\n",
__FUNCTION__));
return EFI_SUCCESS;
}
@@ -44,7 +44,7 @@ ArmVirtPL031FdtClientLibConstructor ( Status = FdtClient->GetNodeProperty (FdtClient, Node, "reg",
(CONST VOID **)&Reg, &RegSize);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_WARN,
+ DEBUG ((DEBUG_WARN,
"%a: No 'reg' property found in 'arm,pl031' compatible DT node\n",
__FUNCTION__));
return EFI_SUCCESS;
@@ -58,7 +58,7 @@ ArmVirtPL031FdtClientLibConstructor ( PcdStatus = PcdSet32S (PcdPL031RtcBase, (UINT32)RegBase);
ASSERT_RETURN_ERROR (PcdStatus);
- DEBUG ((EFI_D_INFO, "Found PL031 RTC @ 0x%Lx\n", RegBase));
+ DEBUG ((DEBUG_INFO, "Found PL031 RTC @ 0x%Lx\n", RegBase));
//
// UEFI takes ownership of the RTC hardware, and exposes its functionality
@@ -69,7 +69,7 @@ ArmVirtPL031FdtClientLibConstructor ( Status = FdtClient->SetNodeProperty (FdtClient, Node, "status",
"disabled", sizeof ("disabled"));
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_WARN, "Failed to set PL031 status to 'disabled'\n"));
+ DEBUG ((DEBUG_WARN, "Failed to set PL031 status to 'disabled'\n"));
}
return EFI_SUCCESS;
|