diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-07-28 20:45:25 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-07-28 20:45:25 +0000 |
commit | ae26410e285bf0320252f99fe25055d467f86824 (patch) | |
tree | 353d32f2a339723c1ca5f047cd67d73e52ff37c8 /ArmVirtPkg/ArmVirtPkg.dec | |
parent | f94522c823610a4b44486835aca195c267bd3953 (diff) | |
download | edk2-ae26410e285bf0320252f99fe25055d467f86824.tar.gz edk2-ae26410e285bf0320252f99fe25055d467f86824.tar.bz2 edk2-ae26410e285bf0320252f99fe25055d467f86824.zip |
ArmVirtPkg: record GIC revision in dynamic PCD
In order to allow a ArmGicArchLib to be implemented that returns
the supported GIC revision based on the device tree, add handling
to VirtFdtDxe to record the GIC revision at DT parsing time.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18101 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmVirtPkg/ArmVirtPkg.dec')
-rw-r--r-- | ArmVirtPkg/ArmVirtPkg.dec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirtPkg.dec b/ArmVirtPkg/ArmVirtPkg.dec index 9833c5aa68..d987035515 100644 --- a/ArmVirtPkg/ArmVirtPkg.dec +++ b/ArmVirtPkg/ArmVirtPkg.dec @@ -68,6 +68,11 @@ gArmVirtTokenSpaceGuid.PcdFwCfgSelectorAddress|0x0|UINT64|0x00000004
gArmVirtTokenSpaceGuid.PcdFwCfgDataAddress|0x0|UINT64|0x00000005
+ #
+ # Supported GIC revision (2, 3, ...)
+ #
+ gArmVirtTokenSpaceGuid.PcdArmGicRevision|0x0|UINT32|0x00000008
+
[PcdsFeatureFlag]
#
# "Map PCI MMIO as Cached"
|