Submitter | Kevin O'Connor |
---|---|
Date | 2009-12-22 01:34:37 |
Message ID | <20091222013437.GA32626@morn.localdomain> |
Download | mbox | patch |
Permalink | /patch/685/ |
State | Not Applicable |
Headers | show |
Comments
> It's a vt8237r thing - basically I need to add:
It is PSON gating. RTC Power Well registers must be avoided to access until the
gating is complete. SMBus happen to be power well register ;)
Kevin, I think we need some fix with the timeout maybe? Definetely for the AT
PSU. They need to manually finish some power sequencing.
Rudolf
Patch
--- src/southbridge/via/vt8237r/vt8237r_early_smbus.c (revision 4967) +++ src/southbridge/via/vt8237r/vt8237r_early_smbus.c (working copy) @@ -147,6 +147,9 @@ die("Power management controller not found\r\n"); } + while (!(pci_read_config8(dev, 0x82) & (1<<6))) + ; + /* * 7 = SMBus Clock from RTC 32.768KHz * 5 = Internal PLL reset from susp