Reviewed-by: Samer El-Haj-Mahmoud <samer.el-haj-mahm...@arm.com> > -----Original Message----- > From: Marcin Wojtas <m...@semihalf.com> > Sent: Monday, May 24, 2021 1:29 AM > To: devel@edk2.groups.io > Cc: l...@nuviainc.com; ardb+tianoc...@kernel.org; Samer El-Haj-Mahmoud > <samer.el-haj-mahm...@arm.com>; Sunny Wang > <sunny.w...@arm.com>; g...@semihalf.com; upstr...@semihalf.com; > Marcin Wojtas <m...@semihalf.com> > Subject: [edk2-platforms PATCH 5/6] Marvell: RealTimeClockLib: Fix daylight > and timezone handling > > The Marvell implementation of the RealTimeClockLib was unnecessarily > overriding the daylight and timezone values, which are handled > by non-volatile variables in the generic code. Fix that. > > Signed-off-by: Marcin Wojtas <m...@semihalf.com> > --- > Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.c | > 3 --- > 1 file changed, 3 deletions(-) > > diff --git > a/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.c > b/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.c > index 40ab01ed41..a48d44ed83 100644 > --- > a/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.c > +++ > b/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.c > @@ -79,9 +79,6 @@ LibGetTime ( > // Convert from internal 32-bit time to UEFI time > > EpochToEfiTime (RegVal, Time); > > > > - Time->TimeZone = EFI_UNSPECIFIED_TIMEZONE; > > - Time->Daylight = 0; > > - > > return Status; > > } > > > > -- > 2.29.0
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75511): https://edk2.groups.io/g/devel/message/75511 Mute This Topic: https://groups.io/mt/83044531/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-