diff options
author | zbao <fishbaozi@gmail.com> | 2012-08-02 19:03:44 +0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2012-08-02 18:03:35 +0200 |
commit | ef180e2a2ccd60a2be6cd3b2ddd4bdf450761f01 (patch) | |
tree | c56f498a9e2e08c80b73109d16fe0433f0a891e7 | |
parent | ea71e81920dbb9fa8bc73dd67f080fa090411463 (diff) |
AMD hudson: Call the rtc update if needed.
Parmer and thather hang at windows 7 booting process. Setting the
valid date in CMOS can fix that.
Change-Id: I5e427cfb42430ebebdb4c1e48bd25860c0fec45f
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: zbao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1390
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r-- | src/southbridge/amd/agesa/hudson/lpc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/southbridge/amd/agesa/hudson/lpc.c b/src/southbridge/amd/agesa/hudson/lpc.c index 4dd6083b1e..97f27d0387 100644 --- a/src/southbridge/amd/agesa/hudson/lpc.c +++ b/src/southbridge/amd/agesa/hudson/lpc.c @@ -67,6 +67,8 @@ static void lpc_init(device_t dev) byte = pci_read_config8(dev, 0xBB); byte |= 1 << 0 | 1 << 3; pci_write_config8(dev, 0xBB, byte); + + rtc_check_update_cmos_date(RTC_HAS_ALTCENTURY); } static void hudson_lpc_read_resources(device_t dev) |