public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@linaro.org>
To: edk2-devel@lists.01.org
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Laszlo Ersek <lersek@redhat.com>
Subject: [PATCH 0/3] Import a few items from OpenPlatformPkg
Date: Wed,  3 May 2017 22:38:09 +0100	[thread overview]
Message-ID: <20170503213812.5971-1-leif.lindholm@linaro.org> (raw)

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



             reply	other threads:[~2017-05-03 21:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-03 21:38 Leif Lindholm [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170503213812.5971-1-leif.lindholm@linaro.org \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox