the following patch was just integrated into master:
commit 31b06e2259ccfd84e8fe1f5f0bc1b2bcb58c6a28
Author: zbao <[email protected]>
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 <[email protected]>
Signed-off-by: zbao <[email protected]>
Reviewed-By: Patrick Georgi <[email protected]> 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
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot