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>
This commit is contained in:
parent
ea71e81920
commit
ef180e2a2c
|
@ -67,6 +67,8 @@ static void lpc_init(device_t dev)
|
||||||
byte = pci_read_config8(dev, 0xBB);
|
byte = pci_read_config8(dev, 0xBB);
|
||||||
byte |= 1 << 0 | 1 << 3;
|
byte |= 1 << 0 | 1 << 3;
|
||||||
pci_write_config8(dev, 0xBB, byte);
|
pci_write_config8(dev, 0xBB, byte);
|
||||||
|
|
||||||
|
rtc_check_update_cmos_date(RTC_HAS_ALTCENTURY);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void hudson_lpc_read_resources(device_t dev)
|
static void hudson_lpc_read_resources(device_t dev)
|
||||||
|
|
Loading…
Reference in New Issue