public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org, leif.lindholm@linaro.org
Cc: udit.kumar@nxp.com, Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH v3 0/3] ArmPlatformPkg EmbeddedPkg: consolidate shared RTC functionality
Date: Fri, 10 Nov 2017 08:09:22 +0000	[thread overview]
Message-ID: <20171110080925.28599-1-ard.biesheuvel@linaro.org> (raw)

This moves input validation and recording of the DST and timezone settings
(which cannot usually be done by the hardware) into the core RTC driver in
EmbeddedPkg, and removes it from one of the RealTimeClockLib implementations,
the one for the ARM PL031.

v3: fix leap day assert condition
    whitespace fix
    add acks
v2: split PL031 into two
    reinstate (but fix) the PL031 timezone handling (after reading and even
    understanding the original code)

Ard Biesheuvel (3):
  EmbeddedPkg/RealTimeClockRuntimeDxe: move common functionality into
    core
  ArmPlatformPkg/PL031RealTimeClockLib: remove validation and DST
    handling
  ArmPlatformPkg/PL031RealTimeClockLib: ignore DST setting when timezone
    is set

 ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c | 194 ++------------------
 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c                  | 171 ++++++++++++++++-
 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf      |  11 +-
 3 files changed, 188 insertions(+), 188 deletions(-)

-- 
2.11.0



             reply	other threads:[~2017-11-10  8:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-10  8:09 Ard Biesheuvel [this message]
2017-11-10  8:09 ` [PATCH v3 1/3] EmbeddedPkg/RealTimeClockRuntimeDxe: move common functionality into core Ard Biesheuvel
2017-11-13 12:03   ` Leif Lindholm
2017-11-13 13:34     ` Ard Biesheuvel
2017-11-10  8:09 ` [PATCH v3 2/3] ArmPlatformPkg/PL031RealTimeClockLib: remove validation and DST handling Ard Biesheuvel
2017-11-10  8:09 ` [PATCH v3 3/3] ArmPlatformPkg/PL031RealTimeClockLib: ignore DST setting when timezone is set Ard Biesheuvel

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=20171110080925.28599-1-ard.biesheuvel@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