public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3] Import a few items from OpenPlatformPkg
@ 2017-05-03 21:38 Leif Lindholm
  2017-05-03 21:38 ` [PATCH 1/3] EmbeddedPkg: import DesignWare EMMC driver Leif Lindholm
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Leif Lindholm @ 2017-05-03 21:38 UTC (permalink / raw)
  To: edk2-devel; +Cc: Ard Biesheuvel, Laszlo Ersek

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-10 16:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-03 21:38 [PATCH 0/3] Import a few items from OpenPlatformPkg Leif Lindholm
2017-05-03 21:38 ` [PATCH 1/3] EmbeddedPkg: import DesignWare EMMC driver Leif Lindholm
2017-05-03 21:38 ` [PATCH 2/3] EmbeddedPkg: import EfiTimeBaseLib Leif Lindholm
2017-05-03 21:38 ` [PATCH 3/3] ArmPlatformPkg, ArmVirtPkg: delete redundant PL031 functions Leif Lindholm
2017-05-04 18:10   ` Ard Biesheuvel
2017-05-10 16:02     ` Leif Lindholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox