Patchwork Enable maximum decoded range for VT8237*

login
register
about
Submitter Kevin O'Connor
Date 2010-04-24 14:27:21
Message ID <20100424142721.GA31288@morn.localdomain>
Download mbox | patch
Permalink /patch/1263/
State New
Headers show

Comments

Kevin O'Connor - 2010-04-24 14:27:21
On Fri, Apr 23, 2010 at 10:59:51PM +0200, Rudolf Marek wrote:
> Thanks,
> 
> it is in as Committed revision 5485. While we are at the tinybootblock. Kevin do
> you plan to convert the epia-cn too? What about to implement there the PSON
> gating so SMB hack is not needed anymore?

I didn't need to do anything for tinybootblock beyond adding "select
TINY_BOOTBLOCK" to epia-cn/Kconfig.

The PSON gating was:


But it should probably have a timeout added.  I've been meaning to
clean these things up, but I haven't had the chance.

-Kevin

Patch

--- src/southbridge/via/vt8237r/vt8237r_early_smbus.c   (revision 5486)
+++ src/southbridge/via/vt8237r/vt8237r_early_smbus.c   (working copy)
@@ -148,6 +148,9 @@ 
                        die("Power management controller not found\n");
        }
 
+        while (!(pci_read_config8(dev, 0x82) & (1<<6)))
+            ;
+
        /*
         * 7 = SMBus Clock from RTC 32.768KHz
         * 5 = Internal PLL reset from susp