summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2021-05-25 14:19:50 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-05-30 20:24:13 +0000
commit1724b74f693812b48fa7e36e69174b271f3b5310 (patch)
tree378ae8901d1986efac1845283956220b941ae134 /tests
parent80d5a05cfd08936d5a5f2c44643358d388d84d63 (diff)
downloadcoreboot-1724b74f693812b48fa7e36e69174b271f3b5310.tar.gz
coreboot-1724b74f693812b48fa7e36e69174b271f3b5310.tar.bz2
coreboot-1724b74f693812b48fa7e36e69174b271f3b5310.zip
lib/rtc: Add sanity check for time and date
Add a function to check sanity of a given RTC date and time. Invalid values in terms of overrun ranges of the registers can lead to strange issues in the OS. Change-Id: I0a381d445c894eee4f82b50fe86dad22cc587605 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54913 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions