]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.c
ArmVirtPkg/EarlyFdtPL011: allow patchable PCD for initial DT base address
[mirror_edk2.git] / ArmVirtPkg / Library / FdtPL011SerialPortLib / EarlyFdtPL011SerialPortLib.c
index c8bfb2972eb9fc5c1607f66fd05fbea7a4c23bf5..72b47652b6dd790946262755c50164fb770b95bd 100644 (file)
@@ -71,7 +71,7 @@ SerialPortGetBaseAddress (
   UINTN               UartBase;\r
   RETURN_STATUS       Status;\r
 \r
-  DeviceTreeBase = (VOID *)(UINTN)FixedPcdGet64 (PcdDeviceTreeInitialBaseAddress);\r
+  DeviceTreeBase = (VOID *)(UINTN)PcdGet64 (PcdDeviceTreeInitialBaseAddress);\r
 \r
   if ((DeviceTreeBase == NULL) || (fdt_check_header (DeviceTreeBase) != 0)) {\r
     return 0;\r