[U-Boot] [PATCH v2 0/5] efi_loader: parameter checks in SetTime()
Heinrich Schuchardt
xypron.glpk at gmx.de
Sat Jun 1 08:58:35 UTC 2019
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
More information about the U-Boot
mailing list