From fc76a15cd74d3ef9f57505f60701cb5104627b4a Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Sat, 28 Feb 2015 20:31:18 +0000 Subject: [PATCH] ArmVirtualizationPkg: allow patchable PCD for FV and DT base addresses Allow the use of patchable PCDs for gArmTokenSpaceGuid.PcdFvBaseAddress and gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress by moving them from the [FixedPcd] to the [Pcd] section in the INF file of PlatformPeiLib. Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Laszlo Ersek Reviewed-by: Olivier Martin Signed-off-by: Ard Biesheuvel Signed-off-by: Laszlo Ersek git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16963 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/PlatformPeiLib/PlatformPeiLib.inf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformPeiLib/PlatformPeiLib.inf b/ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformPeiLib/PlatformPeiLib.inf index 6675a1f915..4fe0cbae38 100644 --- a/ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformPeiLib/PlatformPeiLib.inf +++ b/ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformPeiLib/PlatformPeiLib.inf @@ -37,11 +37,13 @@ FdtLib [FixedPcd] - gArmTokenSpaceGuid.PcdFvBaseAddress gArmTokenSpaceGuid.PcdFvSize - gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeAllocationPadding +[Pcd] + gArmTokenSpaceGuid.PcdFvBaseAddress + gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress + [Guids] gEarlyPL011BaseAddressGuid gFdtHobGuid