From ef180e2a2ccd60a2be6cd3b2ddd4bdf450761f01 Mon Sep 17 00:00:00 2001 From: zbao Date: Thu, 2 Aug 2012 19:03:44 +0800 Subject: 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 Signed-off-by: zbao Reviewed-on: http://review.coreboot.org/1390 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/southbridge/amd/agesa/hudson/lpc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/southbridge') 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) -- cgit v1.2.3