[U-Boot] [PATCH 0/5] efi_loader: complete implementation of GetTime()
Heinrich Schuchardt
xypron.glpk at gmx.de
Sat Jun 30 02:52:33 UTC 2018
The EFI runtime service GetTime() is used to read the time form the real
time clock.
The RTC drivers are made usable even if U-Boot is built without
CONFIG_CMD_DATE.
RTC drivers not complying to the driver model are now supported by the EFI
subsystem.
The implementation of the GetTime() runtime service is corrected.
A unit test is provided.
Heinrich Schuchardt (5):
rtc: remove CONFIG_CMD_DATE dependency
efi_loader: remove unused efi_get_time_init()
efi_loader: complete implementation of GetTime()
efi_selftest: support printing leading zeroes
efi_selftest: unit test for GetTime()
cmd/bootefi.c | 3 -
drivers/rtc/at91sam9_rtt.c | 4 -
drivers/rtc/davinci.c | 2 -
drivers/rtc/ds1302.c | 4 -
drivers/rtc/ds1306.c | 4 -
drivers/rtc/ds1307.c | 4 -
drivers/rtc/ds1337.c | 4 -
drivers/rtc/ds1374.c | 3 -
drivers/rtc/ds164x.c | 4 -
drivers/rtc/ds174x.c | 4 -
drivers/rtc/ds3231.c | 4 -
drivers/rtc/imxdi.c | 4 -
drivers/rtc/m41t11.c | 3 -
drivers/rtc/m41t60.c | 3 -
drivers/rtc/m41t62.c | 4 -
drivers/rtc/m48t35ax.c | 4 -
drivers/rtc/max6900.c | 4 -
drivers/rtc/mc146818.c | 3 -
drivers/rtc/mcfrtc.c | 4 -
drivers/rtc/mk48t59.c | 4 -
drivers/rtc/pcf8563.c | 4 -
drivers/rtc/pl031.c | 4 -
drivers/rtc/rs5c372.c | 3 -
drivers/rtc/rx8025.c | 4 -
drivers/rtc/s3c24x0_rtc.c | 4 -
drivers/rtc/x1205.c | 4 -
include/efi_loader.h | 1 -
lib/efi_loader/efi_runtime.c | 106 +++++++++++++++++++-----
lib/efi_selftest/Makefile | 1 +
lib/efi_selftest/efi_selftest_console.c | 33 +++++---
lib/efi_selftest/efi_selftest_rtc.c | 67 +++++++++++++++
31 files changed, 176 insertions(+), 128 deletions(-)
create mode 100644 lib/efi_selftest/efi_selftest_rtc.c
--
2.18.0
More information about the U-Boot
mailing list