[edk2-devel] [PATCH 0/1] UART Dynamic clock freq Support

Pankaj Bansal posted 1 patch 4 years, 2 months ago
Failed in applying to current master (apply log)
.../Include/Library/SerialUartClockLib.h      | 21 +++++++++++++++
.../BaseSerialPortLib16550.c                  |  9 ++++---
.../BaseSerialPortLib16550.inf                |  2 +-
.../BaseSerialUartClockLib.c                  | 24 +++++++++++++++++
.../BaseSerialUartClockLib.inf                | 27 +++++++++++++++++++
MdeModulePkg/MdeModulePkg.dsc                 |  2 ++
SourceLevelDebugPkg/SourceLevelDebugPkg.dsc   |  1 +
UefiPayloadPkg/UefiPayloadPkgIa32.dsc         |  1 +
UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc      |  1 +
9 files changed, 83 insertions(+), 5 deletions(-)
create mode 100644 MdeModulePkg/Include/Library/SerialUartClockLib.h
create mode 100644 MdeModulePkg/Library/BaseSerialUartClockLib/BaseSerialUartClockLib.c
create mode 100644 MdeModulePkg/Library/BaseSerialUartClockLib/BaseSerialUartClockLib.inf
[edk2-devel] [PATCH 0/1] UART Dynamic clock freq Support
Posted by Pankaj Bansal 4 years, 2 months ago
From: Pankaj Bansal <pankaj.bansal@nxp.com>

This patch adds dynamic freqency support for UART.
This patch is modelled on below patch
(cbba5ca104fb ArmPlatformPkg: PL011 Dynamic clock freq Support )

i have to ask, after introducing the generic library in MdeModulePkg
shouldn't the PL011 specific library PL011UartClockLib be removed from
ArmPlatformPkg?
And also, shouldn't the PL011UartClkInHz be replaced with more generic
PcdSerialClockRate?

Pankaj Bansal (1):
  MdeModulePkg: UART Dynamic clock freq Support

 .../Include/Library/SerialUartClockLib.h      | 21 +++++++++++++++
 .../BaseSerialPortLib16550.c                  |  9 ++++---
 .../BaseSerialPortLib16550.inf                |  2 +-
 .../BaseSerialUartClockLib.c                  | 24 +++++++++++++++++
 .../BaseSerialUartClockLib.inf                | 27 +++++++++++++++++++
 MdeModulePkg/MdeModulePkg.dsc                 |  2 ++
 SourceLevelDebugPkg/SourceLevelDebugPkg.dsc   |  1 +
 UefiPayloadPkg/UefiPayloadPkgIa32.dsc         |  1 +
 UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc      |  1 +
 9 files changed, 83 insertions(+), 5 deletions(-)
 create mode 100644 MdeModulePkg/Include/Library/SerialUartClockLib.h
 create mode 100644 MdeModulePkg/Library/BaseSerialUartClockLib/BaseSerialUartClockLib.c
 create mode 100644 MdeModulePkg/Library/BaseSerialUartClockLib/BaseSerialUartClockLib.inf

-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#54628): https://edk2.groups.io/g/devel/message/54628
Mute This Topic: https://groups.io/mt/71393885/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-