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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel