[edk2] [PATCH 0/3] Import a few items from OpenPlatformPkg

Leif Lindholm posted 3 patches 7 years, 6 months ago
Failed in applying to current master (apply log)
.../Include/Drivers/PL031RealTimeClock.h           |  11 -
.../PL031RealTimeClockLib/PL031RealTimeClockLib.c  | 127 +---
.../PL031RealTimeClockLib.inf                      |   1 +
ArmVirtPkg/ArmVirt.dsc.inc                         |   1 +
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h             | 127 ++++
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c          | 648 +++++++++++++++++++++
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf        |  53 ++
EmbeddedPkg/EmbeddedPkg.dec                        |   4 +
EmbeddedPkg/Include/Library/EfiTimeBaseLib.h       |  68 +++
.../Library/EfiTimeBaseLib/EfiTimeBaseLib.c        | 171 ++++++
.../Library/EfiTimeBaseLib/EfiTimeBaseLib.inf      |  34 ++
11 files changed, 1110 insertions(+), 135 deletions(-)
create mode 100644 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h
create mode 100644 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c
create mode 100644 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf
create mode 100644 EmbeddedPkg/Include/Library/EfiTimeBaseLib.h
create mode 100644 EmbeddedPkg/Library/EfiTimeBaseLib/EfiTimeBaseLib.c
create mode 100644 EmbeddedPkg/Library/EfiTimeBaseLib/EfiTimeBaseLib.inf
[edk2] [PATCH 0/3] Import a few items from OpenPlatformPkg
Posted by Leif Lindholm 7 years, 6 months ago
In preparation for moving OpenPlatformPkg into edk2-platforms:
- move across the DesignWare EMMC driver
- import EfiTimeBaseLib

EfiTimeBaseLib started out as some generically useful functions pulled
out of PL031RealTimeClockLib and used also for other RTC devices.
We re-align it with the original version before importing it to
EmbeddedPkg, followed by one patch that atomically strips these functions
from PL031RealTimeClockLib, turns PL031RealTimeClockLib into a consumer
of EfiTimeBaseLib, and inserts this library resolution in ArmVirtPkg,
which is the only user of PL031RealTimeClockLib in the main edk2
repository.
Any out of tree users will need to add the same resolution.

Cc: Laszlo Ersek <lersek@redhat.com>

Leif Lindholm (3):
  EmbeddedPkg: import DesignWare EMMC driver
  EmbeddedPkg: import EfiTimeBaseLib
  ArmPlatformPkg,ArmVirtPkg: delete redundant PL031 functions

 .../Include/Drivers/PL031RealTimeClock.h           |  11 -
 .../PL031RealTimeClockLib/PL031RealTimeClockLib.c  | 127 +---
 .../PL031RealTimeClockLib.inf                      |   1 +
 ArmVirtPkg/ArmVirt.dsc.inc                         |   1 +
 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h             | 127 ++++
 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c          | 648 +++++++++++++++++++++
 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf        |  53 ++
 EmbeddedPkg/EmbeddedPkg.dec                        |   4 +
 EmbeddedPkg/Include/Library/EfiTimeBaseLib.h       |  68 +++
 .../Library/EfiTimeBaseLib/EfiTimeBaseLib.c        | 171 ++++++
 .../Library/EfiTimeBaseLib/EfiTimeBaseLib.inf      |  34 ++
 11 files changed, 1110 insertions(+), 135 deletions(-)
 create mode 100644 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h
 create mode 100644 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c
 create mode 100644 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf
 create mode 100644 EmbeddedPkg/Include/Library/EfiTimeBaseLib.h
 create mode 100644 EmbeddedPkg/Library/EfiTimeBaseLib/EfiTimeBaseLib.c
 create mode 100644 EmbeddedPkg/Library/EfiTimeBaseLib/EfiTimeBaseLib.inf

-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel