audk/ArmPlatformPkg/Library
Evan Lloyd f63005282c ArmPlatformPkg: Add support to configure PL011 UART clock
On some platforms the UART clock is not the same for all the serial
ports. The PL011 driver must be capable of handling serial ports with
different clock rates, so must not rely on a PCD for the clock rate.

This patch allows the UART clock rate to be passed as a parameter
to PL011UartInitializePort(), which is called from the serial port
library. This patch also contains the corresponding changes in the
serial port library.

The PCD in Drivers/PL011Uart is replaced by an extra parameter for
PL011UartInitializePort.  The PCD is moved to Library/PL011SerialPortLib
to supply the value to pass.

A corresponding patch to ArmVirtPkg is included in the same bundle to
align that with these changes.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
2016-06-15 16:15:50 +02:00
..
ArmPlatformLibNull ArmPlatformPkg/ArmPlatformLibNull: use declared PPI rather than module local var 2015-12-14 12:59:52 +00:00
ArmPlatformSecLibNull ArmPlatformPkg: Increase more ARM address Pcd entries to 64-bit. 2014-11-11 00:43:03 +00:00
ArmPlatformStackLib ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
ArmPlatformSysConfigLibNull ArmPlatformPkg: Introduced ArmPlatformSysConfigLib NULL library 2014-09-18 21:15:29 +00:00
ArmShellCmdRunAxf ArmPlatformPkg: Convert all .uni files to utf-8 2015-12-15 04:51:08 +00:00
ArmTrustedMonitorLibNull ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
DebugSecExtraActionLib ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
EblCmdLib ArmPlatformPkg/EblCmdLib: drop bogus ArmGlobalVariableHob.h include 2015-11-27 17:09:06 +00:00
L2X0CacheLibNull ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PL011SerialPortLib ArmPlatformPkg: Add support to configure PL011 UART clock 2016-06-15 16:15:50 +02:00
PL031RealTimeClockLib ArmPlatformPkg/PL031RealTimeClockLib: remove local copy of gRT pointer 2016-05-11 16:57:23 +02:00
PlatformIntelBdsLib ArmPlatformPkg/IntelBds: call BdsLibConnectAll() 2016-02-24 10:35:51 +00:00
PrePiHobListPointerLib ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
SP804TimerLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00