[coreboot] Patch merged into coreboot/master: 31b06e2 RTC: Add a routine to check if the CMOS date is valid

gerrit at coreboot.org gerrit at coreboot.org
Thu Aug 2 23:40:13 CEST 2012


the following patch was just integrated into master:
commit 31b06e2259ccfd84e8fe1f5f0bc1b2bcb58c6a28
Author: zbao <fishbaozi at gmail.com>
Date:   Thu Aug 2 19:02:26 2012 +0800

    RTC: Add a routine to check if the CMOS date is valid
    
    If the CMOS is cleared or someone writes some random date/time
    on purpose, the CMOS date register has a invalid date. This will
    hurts some OS, like Windows 7, which hangs at MS logo forever.
    When we detect that, we need to write a reasonable date in CMOS.
    
    Alexandru Gagniuc:
    Hmm, it would be interesting to use the date the coreboot image
    was built and set that as the default date. At least until time
    travel is invented.
    
    Change-Id: Ic1c7a2d60e711265686441c77bdf7891a7efb42e
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: zbao <fishbaozi at gmail.com>

Reviewed-By: Patrick Georgi <patrick at georgi-clan.de> at Thu Aug  2 12:37:23 2012, giving +2
Build-Tested: build bot (Jenkins) at Thu Aug  2 12:27:22 2012, giving +1
See http://review.coreboot.org/1389 for details.

-gerrit




More information about the coreboot mailing list