Florian Zumbiehl just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/383
-gerrit
commit 514140a110bb009a5d6398e9214ead97fea35324
Author: Florian Zumbiehl <florz(a)florz.de>
Date: Tue Nov 1 20:19:04 2011 +0100
add support for setting the vt8237 to uncond. power on after loss of power
Change-Id: Iccc0dcd9f82e525c6c3abcec9f4ed0f2de581e63
Signed-off-by: Florian Zumbiehl <florz(a)florz.de>
---
src/southbridge/via/vt8237r/Kconfig | 4 ++++
src/southbridge/via/vt8237r/lpc.c | 9 +++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/southbridge/via/vt8237r/Kconfig b/src/southbridge/via/vt8237r/Kconfig
index d0a6deb..e4f73da 100644
--- a/src/southbridge/via/vt8237r/Kconfig
+++ b/src/southbridge/via/vt8237r/Kconfig
@@ -31,3 +31,7 @@ config BOOTBLOCK_SOUTHBRIDGE_INIT
string
default "southbridge/via/vt8237r/bootblock.c"
depends on SOUTHBRIDGE_VIA_VT8237R
+
+config VT8237R_ON_AFTER_POWER_LOSS
+ bool
+
diff --git a/src/southbridge/via/vt8237r/lpc.c b/src/southbridge/via/vt8237r/lpc.c
index 4b3064a..ad0327a 100644
--- a/src/southbridge/via/vt8237r/lpc.c
+++ b/src/southbridge/via/vt8237r/lpc.c
@@ -511,6 +511,15 @@ static void vt8237_common_init(struct device *dev)
*/
pci_write_config8(dev, 0x5b, 0xb);
+#if CONFIG_VT8237R_ON_AFTER_POWER_LOSS
+ /* make it so the board unconditionally powers on after loss of power */
+ enables = pci_read_config8(dev, 0x58);
+ pci_write_config8(dev, 0x58, enables & ~0x02);
+ outb(0x0d, 0x70);
+ outb(0x00, 0x71);
+ pci_write_config8(dev, 0x58, enables);
+#endif
+
/* Set 0x58 to 0x43 APIC and RTC. */
pci_write_config8(dev, 0x58, 0x43);
the following patch was just integrated into master:
commit d1f7cf4195bf3b1cca86f2b78eb0625411479706
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Tue Nov 1 22:39:41 2011 +0100
buildgcc: Update coreboot reference toolchain to gcc 4.6.2
In addition:
- drop some unneeded patches
- make the scripting support depend on SKIPPYTHON not SKIPGDB
so it is possible to build GDB with and without scripting support
- rename the repository checkout version of GCC trunk, not X+1
so we don't have to change it on every version upgrade.
Change-Id: I1b7d5b8921187c1c1d39b04f20bb715ddba72fe8
Signed-off-by: Stefan Reinauer <reinauer(a)google.com>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Wed Nov 2 10:51:01 2011, giving +2
See http://review.coreboot.org/367 for details.
-gerrit
the following patch was just integrated into master:
commit f07282efab87037a54cf0f48c0ab835cbbd39efe
Author: Florian Zumbiehl <florz(a)florz.de>
Date: Tue Nov 1 20:17:11 2011 +0100
don't scan beyond end of CBFS
Change-Id: I66e535f77e513dbfa5fc906ecf288193af78ae62
Signed-off-by: Florian Zumbiehl <florz(a)florz.de>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Wed Nov 2 10:49:24 2011, giving +2
See http://review.coreboot.org/369 for details.
-gerrit