coreboot-kgpe-d16/src/include/pc80
Marshall Dawson 5a043fe08d 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.

Change-Id: I39e34493113015d32582f1c280fafa9e97f43a40
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>
2016-11-17 23:08:43 +01: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 rtc: Check update-in-progress bit 2016-11-17 23:08:43 +01: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