coreboot/src/include/pc80
Marshall Dawson ae1dc9a24d UPSTREAM: rtc: Check update-in-progress bit
While the real-time clock updates its count, values may not be correctly
read or written.  On reads, ensure the UIP bit is clear which guarantees
a minimum of 244 microseconds exists before the update begins.  Writes
already avoid the problem by disabling the RTC count via the SET bit.

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/17369
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>

Change-Id: I39e34493113015d32582f1c280fafa9e97f43a40
Reviewed-on: https://chromium-review.googlesource.com/412852
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-11-19 03:17:58 -08:00
..
i8254.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i8259.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
isa-dma.h - Bump the LinuxBIOS major version 2004-10-21 10:44:08 +00:00
keyboard.h drivers/pc80: Add PS/2 mouse presence detect 2016-02-01 22:10:46 +01:00
mc146818rtc.h UPSTREAM: rtc: Check update-in-progress bit 2016-11-19 03:17:58 -08:00
vga.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
vga_io.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00