audk/ArmPlatformPkg
Evan Lloyd 16146b984d ArmPlatformPkg: Fix PL011 Glitches.
This change corrects 3 problems in the PL011 driver.
1. The TRM states "The UARTLCR_H, UARTIBRD, and UARTFBRD registers must
   not be changed:...when the UART is enabled"
2. The TRM (3.3.8) describes logic requiring the UART to be disabled and
   flushed before adjusting UARTCR.
3. Several redundant calls get made to PL011UartInitializePort, where
   the characteristics do not change, but updating the registers can
   cause glitches in the output stream.

The parameters are compared to the current state and no action taken if
no change of state is required.
Where an update is required, the specified logic is followed, and the
register updates only made when the UART is disabled.

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>
Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
2016-06-15 16:17:10 +02:00
..
ArmJunoPkg ArmPlatformPkg: move PCI related PCD definitions to ArmPkg 2016-04-29 18:04:21 +02:00
ArmVExpressPkg ArmPlatformPkg: delete orphaned ArmVExpress.dsc.inc 2016-03-01 10:25:30 +00:00
Bds ArmPlatformPkg/Bds: Early Console Initialization 2016-02-09 18:23:57 +00:00
Documentation ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
Drivers ArmPlatformPkg: Fix PL011 Glitches. 2016-06-15 16:17:10 +02:00
FileSystem/BootMonFs ArmPlatformPkg: Fixed builds after some ShellPkg libraries have moved 2015-01-13 18:58:00 +00:00
Include ArmPlatformPkg: Add support to configure PL011 UART clock 2016-06-15 16:15:50 +02:00
Library ArmPlatformPkg: Add support to configure PL011 UART clock 2016-06-15 16:15:50 +02:00
MemoryInitPei ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PlatformPei ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PrePeiCore ArmPlatformPkg: fixups for 64-bit pointers 2016-03-25 07:17:28 +01:00
PrePi ArmPlatformPkg/PrePi: allow unicore version to be used on MP hardware 2016-04-29 18:12:52 +02:00
Scripts ArmPlatformPkg/DS-5: fix 64-bit PE/COFF header parsing bug 2016-04-18 10:18:14 +02:00
ArmPlatformPkg.dec ArmPlatformPkg: move PCI related PCD definitions to ArmPkg 2016-04-29 18:04:21 +02:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00