[U-Boot] [PATCH 0/3] efi_loader: parameter checks in SetTime()
Heinrich Schuchardt
xypron.glpk at gmx.de
Fri May 31 18:34:55 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.
Heinrich Schuchardt (3):
rtc: export rtc_month_days()
efi_loader: check time in SetTime()
efi_loader: export efi_set_time()
drivers/rtc/rtc-lib.c | 2 +-
include/efi_loader.h | 2 ++
include/rtc.h | 8 ++++++++
lib/efi_loader/efi_runtime.c | 22 +++++++++++++++++++++-
4 files changed, 32 insertions(+), 2 deletions(-)
--
2.20.1
More information about the U-Boot
mailing list