All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/5] efi_loader: parameter checks in SetTime()
@ 2019-06-01  8:58 Heinrich Schuchardt
  2019-06-01  8:58 ` [U-Boot] [PATCH v2 1/5] rtc: export rtc_month_days() Heinrich Schuchardt
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Heinrich Schuchardt @ 2019-06-01  8:58 UTC (permalink / raw)
  To: u-boot

The UEFI spec requires to check the validity of the time stamp passed to
SetTime().

For the runtime version of SetTime() defined a weak implementation. Put
the definition into include/efi_loader.h to make it available to
implementors.

v2:

Make the handling of daylight saving times more consistent.

Add Kconfig options to select if the GetTime() and SetTime() runtime
services shall be available.

Heinrich Schuchardt (5):
  rtc: export rtc_month_days()
  efi_loader: check time in SetTime()
  efi_loader: export efi_set_time()
  efi_loader: handling of daylight saving time
  efi_loader: Kconfig entries for GetTime(), SetTime()

 drivers/rtc/rtc-lib.c               |  2 +-
 include/efi_loader.h                |  2 ++
 include/rtc.h                       |  8 ++++++
 lib/efi_loader/Kconfig              | 16 ++++++++++++
 lib/efi_loader/efi_runtime.c        | 39 +++++++++++++++++++++++------
 lib/efi_selftest/Makefile           |  2 +-
 lib/efi_selftest/efi_selftest_rtc.c | 17 +++++--------
 7 files changed, 66 insertions(+), 20 deletions(-)

--
2.20.1

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

end of thread, other threads:[~2019-06-01  8:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-01  8:58 [U-Boot] [PATCH v2 0/5] efi_loader: parameter checks in SetTime() Heinrich Schuchardt
2019-06-01  8:58 ` [U-Boot] [PATCH v2 1/5] rtc: export rtc_month_days() Heinrich Schuchardt
2019-06-01  8:58 ` [U-Boot] [PATCH v2 2/5] efi_loader: check time in SetTime() Heinrich Schuchardt
2019-06-01  8:58 ` [U-Boot] [PATCH v2 3/5] efi_loader: export efi_set_time() Heinrich Schuchardt
2019-06-01  8:58 ` [U-Boot] [PATCH v2 4/5] efi_loader: handling of daylight saving time Heinrich Schuchardt
2019-06-01  8:58 ` [U-Boot] [PATCH v2 5/5] efi_loader: Kconfig entries for GetTime(), SetTime() Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.