]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c
ArmPkg/ArmPkg.dec: Redefined PcdSystemMemory(Base|Size) as UINT64
[mirror_edk2.git] / ArmPkg / Library / BdsLib / AArch64 / BdsLinuxLoader.c
index 887058bafe60b0be73589617e3f68798904bd2b0..19177c8e4e3b62d16a508b6d805156f50e2b2f72 100644 (file)
@@ -223,7 +223,7 @@ BdsBootLinuxFdt (
 \r
   // Try to put the kernel at the start of RAM so as to give it access to all memory.\r
   // If that fails fall back to try loading it within LINUX_KERNEL_MAX_OFFSET of memory start.\r
-  LinuxImage = PcdGet32(PcdSystemMemoryBase) + 0x80000;\r
+  LinuxImage = PcdGet64 (PcdSystemMemoryBase) + 0x80000;\r
   Status = BdsLoadImage (LinuxKernelDevicePath, AllocateAddress, &LinuxImage, &LinuxImageSize);\r
   if (EFI_ERROR(Status)) {\r
     // Try again but give the loader more freedom of where to put the image.\r