[coreboot] Patch set updated for coreboot: 64d97b5 If cmos is invalid, always set the rtc date and time

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Sun Nov 11 20:21:56 CET 2012

Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1790


commit 64d97b5ad2be4eb0a0f2210ad95c0022f6d918d2
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Tue Nov 6 18:39:41 2012 -0800

    If cmos is invalid, always set the rtc date and time
    If cmos is invalid for any reason, always set the date and time
    before marking RTC valid.
    Change-Id: Ib9d154802f75221d58bf28ba9c813f2529904596
    Signed-off-by: Marc Jones <marc.jones at se-eng.com>
 src/drivers/pc80/mc146818rtc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/drivers/pc80/mc146818rtc.c b/src/drivers/pc80/mc146818rtc.c
index 4a42b9d..d8d1778 100644
--- a/src/drivers/pc80/mc146818rtc.c
+++ b/src/drivers/pc80/mc146818rtc.c
@@ -97,11 +97,11 @@ void rtc_init(int invalid)
 		for(i = 10; i < 128; i++) {
 			cmos_write(0, i);
 		if (cmos_invalid) {
 		printk(BIOS_WARNING, "RTC:%s%s%s%s\n",
 			invalid?" Clear requested":"",
 			cmos_invalid?" Power Problem":"",

More information about the coreboot mailing list