[coreboot] [PATCH] Enable maximum decoded range for VT8237*

Kevin O'Connor kevin at koconnor.net
Sat Apr 24 16:27:21 CEST 2010


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:

--- 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

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




More information about the coreboot mailing list