diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-01-27 17:40:46 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-01-29 16:06:53 +0000 |
commit | 265bb85cdfb8d9f43fa9a112bfb549bb6ad68123 (patch) | |
tree | ddd5bbe8ffe5cba5d9c4f31dc9f39bd6508e0fc2 /Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf | |
parent | e26d421e1108a80d772e00b0c27b4a516982fb0e (diff) | |
download | edk2-platforms-265bb85cdfb8d9f43fa9a112bfb549bb6ad68123.tar.xz |
Silicon/SynQuacer: set CNTFRQ field of MMIO timer frame
Even though the ARM ARM quite clearly states that the CNTFRQ field of
each MMIO timer frame should be a read-only alias of the CNTFRQ field
of the base frame, the SynQuacer SoC implements it as a register that
is programmable separately.
So let's program it from the hardware rather than overriding the
frequency using a DT property.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf')
-rw-r--r-- | Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf index de21ba33df..40e42a4d18 100644 --- a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf +++ b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf @@ -29,6 +29,7 @@ PlatformDxeHii.vfr
[Packages]
+ ArmPkg/ArmPkg.dec
EmbeddedPkg/EmbeddedPkg.dec
MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec
@@ -37,6 +38,7 @@ Silicon/Socionext/SynQuacer/SynQuacer.dec
[LibraryClasses]
+ ArmGenericTimerCounterLib
BaseMemoryLib
DebugLib
DevicePathLib
|