diff options
author | Udit Kumar <udit.kumar@nxp.com> | 2018-06-13 01:44:08 +0530 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-06-13 11:45:50 +0200 |
commit | cbba5ca104fbc8baa0c613951e833e1a07bb34df (patch) | |
tree | 9d009fea0e37b1b4cb87c458c755eb6830389efc /ArmPlatformPkg/ArmPlatformPkg.dsc | |
parent | c30084fbac289b731d0bd102b0e91072c63ea029 (diff) | |
download | edk2-cbba5ca104fbc8baa0c613951e833e1a07bb34df.tar.gz edk2-cbba5ca104fbc8baa0c613951e833e1a07bb34df.tar.bz2 edk2-cbba5ca104fbc8baa0c613951e833e1a07bb34df.zip |
ArmPlatformPkg: PL011 Dynamic clock freq Support
Some platform support dynamic clocking, which is controlled by some
jumper setting or hardware registers. Result of that is that PCD
PL011UartClkInHz would need to be updated for frequency change.
This patch implements support for dynamic frequency for PL011 uart.
This patch implements default lib, which is using Pcd. Platform which
needs dynamic clocking needs implement PL011UartClockLib
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Udit Kumar <udit.kumar@nxp.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'ArmPlatformPkg/ArmPlatformPkg.dsc')
-rw-r--r-- | ArmPlatformPkg/ArmPlatformPkg.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmPlatformPkg.dsc b/ArmPlatformPkg/ArmPlatformPkg.dsc index 0013106b94..d504e76b2f 100644 --- a/ArmPlatformPkg/ArmPlatformPkg.dsc +++ b/ArmPlatformPkg/ArmPlatformPkg.dsc @@ -105,6 +105,7 @@ ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf
ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf
ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
+ ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|