summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzbao <fishbaozi@gmail.com>2012-08-02 19:03:44 +0800
committerRonald G. Minnich <rminnich@gmail.com>2012-08-02 18:03:35 +0200
commitef180e2a2ccd60a2be6cd3b2ddd4bdf450761f01 (patch)
treec56f498a9e2e08c80b73109d16fe0433f0a891e7 /src
parentea71e81920dbb9fa8bc73dd67f080fa090411463 (diff)
downloadcoreboot-ef180e2a2ccd60a2be6cd3b2ddd4bdf450761f01.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/amd/agesa/hudson/lpc.c2
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)