]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg/FdtPL011SerialPortLib: Set the PL011 UART clock rate
authorEvan Lloyd <evan.lloyd@arm.com>
Wed, 15 Jun 2016 12:52:42 +0000 (13:52 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 15 Jun 2016 14:16:43 +0000 (16:16 +0200)
commit090916d8bc8962d191e67cba24bfe46ad1cc892a
treed577f24c99403acb52edf45328e84e9de98ad422
parentf63005282cc59f76b050c0be0813345cf7d54171
ArmVirtPkg/FdtPL011SerialPortLib: Set the PL011 UART clock rate

The interface to PL011UartInitializePort has changed in
ArmPlatformPkg/Drivers/PL011Uart with the title:
"ArmPlatformPkg: Add support to configure PL011 UART clock"

This patch updates the calls to PL011UartInitializePort(), in line with
that change, adding a parameter value using the PCD previously used
directly by the driver.

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>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.c
ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.c
ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf