summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg
diff options
context:
space:
mode:
authorLeif Lindholm <quic_llindhol@quicinc.com>2024-09-30 21:27:39 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-10-02 07:45:03 +0000
commitcac73c45c4a9eaf81613260fb52bfc990e59bc0d (patch)
tree69663c178f799f7e2d678fbaf88a0e22f59a94fc /ArmVirtPkg
parent3297be20bb8f575feb79ef782bd1c41eeb2feced (diff)
downloadedk2-cac73c45c4a9eaf81613260fb52bfc990e59bc0d.tar.gz
edk2-cac73c45c4a9eaf81613260fb52bfc990e59bc0d.tar.bz2
edk2-cac73c45c4a9eaf81613260fb52bfc990e59bc0d.zip
ArmVirtPkg/ArmVirtQemu: avoid unnecessary use of $(ARCH) conditional
ARCH as set by "build" command is not really useful for conditionals, so move AArch64-specific Pcd to [PcdsFixedAtBuild.AARCH64]. Signed-off-by: Leif Lindholm <quic_llindhol@quicinc.com>
Diffstat (limited to 'ArmVirtPkg')
-rw-r--r--ArmVirtPkg/ArmVirtQemu.dsc6
1 files changed, 2 insertions, 4 deletions
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index 6826edab93..10e4541b3e 100644
--- a/ArmVirtPkg/ArmVirtQemu.dsc
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
@@ -151,10 +151,6 @@
gArmVirtTokenSpaceGuid.PcdTpm2SupportEnabled|$(TPM2_ENABLE)
[PcdsFixedAtBuild.common]
-!if $(ARCH) == AARCH64
- gArmTokenSpaceGuid.PcdVFPEnabled|1
-!endif
-
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress|0x00000000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize|$(FD_SIZE)
@@ -245,6 +241,8 @@
# point only, for entry point versions >= 3.0.
gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
+ gArmTokenSpaceGuid.PcdVFPEnabled|1
+
[PcdsDynamicDefault.common]
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3