coreboot-kgpe-d16/payloads/libpayload/include
Patrick Rudolph 9f3e734e5c libpayload: Improve rtc functions
On Lenovo T500 the RTC readings where wrong, as RTC has
different encodings, depending on the statusB register.

Support BCD vs binary RTC format and AM/PM vs 24h RTC format.

Fixes wrong date and time on Lenovo 500.

Change-Id: Id773c33e228973e190a7e14c3d11979678b1a619
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/18498
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2020-03-09 08:14:04 +00:00
..
arm/arch
arm64/arch libpayload: arm64: Keep instruction cache enabled at all times 2020-02-17 15:42:34 +00:00
arpa
pci
storage payloads: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-07 17:15:30 +00:00
sys libpayload/sys/types.h: Add definition for off_t 2019-02-13 12:03:03 +00:00
udc
usb treewide: capitalize 'USB' 2020-02-26 17:06:40 +00:00
x86/arch libpayload: add read64() and write64() 2020-03-04 10:39:56 +00:00
archive.h
assert.h
cbfs.h
cbfs_core.h util/cbfstool: Add optional argument ibb 2019-10-18 15:37:37 +00:00
cbfs_ram.h
cbgfx.h libpayload: cbgfx: Support drawing a box with rounded corners 2020-01-14 18:25:36 +00:00
compiler.h Make common macros double-evaluation safe 2019-04-04 19:38:31 +00:00
coreboot_tables.h libpayload: refactor fetching cbmem pointers 2019-10-03 15:27:30 +00:00
ctype.h
die.h
endian.h libpayload: Make pci and endian handling -Wconversion safe 2020-02-05 21:48:36 +00:00
errno.h
exception.h libpayload/x86/exception: Add ability to handle user defined interrupts 2018-09-10 15:01:04 +00:00
fmap_serialized.h fmap: Add FMAP_AREA_PRESERVE 2019-03-04 13:25:01 +00:00
gdb.h libpayload: gdb: Factor out gdb_handle_reentrant_exception() from arm32 2018-10-12 20:17:40 +00:00
getopt.h
inttypes.h
ipchksum.h
kconfig.h Add new CONFIG(XXX) macro to replace IS_ENABLED(CONFIG_XXX) 2019-03-07 17:06:28 +00:00
keycodes.h
libpayload.h libpayload: Improve rtc functions 2020-03-09 08:14:04 +00:00
limits.h libpayload: limits.h: Provide reliable definitions for all XXX_MAX/MIN 2019-04-10 10:43:27 +00:00
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h libpayload: Make pci and endian handling -Wconversion safe 2020-02-05 21:48:36 +00:00
queue.h payloads: Remove/fix trailing whitespace 2018-09-04 12:38:40 +00:00
stdarg.h
stddef.h libpayload/libc/time: Add an arch_ndelay() 2018-09-12 14:15:18 +00:00
stdint.h
stdio.h
stdlib.h libpayload: Deduplicate strtol and strtoull 2019-04-10 10:44:31 +00:00
string.h libpayload/libc: Tidy utf16le_to_ascii 2019-07-23 09:09:45 +00:00
strings.h
sysinfo.h lib/coreboot_table: Add CBMEM_ID_VBOOT_WORKBUF pointer to coreboot table 2019-12-02 13:00:45 +00:00
term.h
time.h
unistd.h
video_console.h