]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.c
EmbeddedPkg: Change use of EFI_D_* to DEBUG_*
[mirror_edk2.git] / EmbeddedPkg / Drivers / FdtClientDxe / FdtClientDxe.c
index 6300d288db951e754bccb220797219c35a787139..45bed5e776c10b04f2c59eb5e1457acc13971057 100644 (file)
@@ -208,7 +208,7 @@ FindCompatibleNodeReg (
   }\r
 \r
   if ((*RegSize % 16) != 0) {\r
-    DEBUG ((EFI_D_ERROR,\r
+    DEBUG ((DEBUG_ERROR,\r
       "%a: '%a' compatible node has invalid 'reg' property (size == 0x%x)\n",\r
       __FUNCTION__, CompatibleString, *RegSize));\r
     return EFI_NOT_FOUND;\r
@@ -261,13 +261,13 @@ FindNextMemoryNodeReg (
       //\r
       Status = GetNodeProperty (This, Next, "reg", Reg, RegSize);\r
       if (EFI_ERROR (Status)) {\r
-        DEBUG ((EFI_D_WARN,\r
+        DEBUG ((DEBUG_WARN,\r
           "%a: ignoring memory node with no 'reg' property\n",\r
           __FUNCTION__));\r
         continue;\r
       }\r
       if ((*RegSize % 16) != 0) {\r
-        DEBUG ((EFI_D_WARN,\r
+        DEBUG ((DEBUG_WARN,\r
           "%a: ignoring memory node with invalid 'reg' property (size == 0x%x)\n",\r
           __FUNCTION__, *RegSize));\r
         continue;\r
@@ -391,14 +391,14 @@ InitializeFdtClientDxe (
   DeviceTreeBase = (VOID *)(UINTN)*(UINT64 *)GET_GUID_HOB_DATA (Hob);\r
 \r
   if (fdt_check_header (DeviceTreeBase) != 0) {\r
-    DEBUG ((EFI_D_ERROR, "%a: No DTB found @ 0x%p\n", __FUNCTION__,\r
+    DEBUG ((DEBUG_ERROR, "%a: No DTB found @ 0x%p\n", __FUNCTION__,\r
       DeviceTreeBase));\r
     return EFI_NOT_FOUND;\r
   }\r
 \r
   mDeviceTreeBase = DeviceTreeBase;\r
 \r
-  DEBUG ((EFI_D_INFO, "%a: DTB @ 0x%p\n", __FUNCTION__, mDeviceTreeBase));\r
+  DEBUG ((DEBUG_INFO, "%a: DTB @ 0x%p\n", __FUNCTION__, mDeviceTreeBase));\r
 \r
   //\r
   // Register a protocol notify for the EDKII Platform Has Device Tree\r