public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v3 0/3] ArmPlatformPkg EmbeddedPkg: consolidate shared RTC functionality
@ 2017-11-10  8:09 Ard Biesheuvel
  2017-11-10  8:09 ` [PATCH v3 1/3] EmbeddedPkg/RealTimeClockRuntimeDxe: move common functionality into core Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ard Biesheuvel @ 2017-11-10  8:09 UTC (permalink / raw)
  To: edk2-devel, leif.lindholm; +Cc: udit.kumar, Ard Biesheuvel

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



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

end of thread, other threads:[~2017-11-13 13:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-10  8:09 [PATCH v3 0/3] ArmPlatformPkg EmbeddedPkg: consolidate shared RTC functionality Ard Biesheuvel
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

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