Florian Zumbiehl just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/391
-gerrit
commit 214e7e721ea3aba2be006dd8142fcadaa9573a2a
Author: Florian Zumbiehl <florz(a)florz.de>
Date: Wed Nov 2 09:46:34 2011 +0100
fix superiotool for NCT6776F
The current code exits config mode of the NCT6776F immediately after
detection, so the register dump shows all 0xffs. This patch adds code to
re-enter config mode for the register dump so that the register contents
can be read.
Change-Id: I4ad0c108b6411a665e31f55dea4b91ca77d1a5f7
Signed-off-by: Florian Zumbiehl <florz(a)florz.de>
---
util/superiotool/nuvoton.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/util/superiotool/nuvoton.c b/util/superiotool/nuvoton.c
index 6a1a75c..ed2eabc 100644
--- a/util/superiotool/nuvoton.c
+++ b/util/superiotool/nuvoton.c
@@ -255,7 +255,9 @@ void probe_idregs_nuvoton(uint16_t port)
printf("Found Nuvoton %s (id=0x%02x) at 0x%x\n",
get_superio_name(reg_table, chip_id), chip_id, port);
chip_found = 1;
+ enter_conf_mode_winbond_fintek_ite_8787(port);
dump_superio("Nuvoton", reg_table, port, chip_id, LDN_SEL);
+ exit_conf_mode_winbond_fintek_ite_8787(port);
return;
}
Florian Zumbiehl just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/383
-gerrit
commit cf7dc41c3e80e96f763f7bbb39a820dbfd8fab3b
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 b1e1afe..0e757fe 100644
--- a/src/southbridge/via/vt8237r/lpc.c
+++ b/src/southbridge/via/vt8237r/lpc.c
@@ -508,6 +508,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);
Hi Patrick,
>Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch
>set to gerrit, which you can find at http://review.coreboot.org/250
Unfortunately this update doesn't help with the problems i was seeing on
my Debian squeeze (stable) GCC :Debian 4.4.5-8.
CC wasn't set and bison and flex were not instaled.
The acpica-unix-20110922/README states that the Makefiles contain
CC = gcc but only the main acpica-unix-20110922/generate/
unix/Makefile.config contains it and it is not used by coreboot.
The attached patch adds CC = gcc and also tests for bison and flex.
Signed-off-by: Nils Jacobs <njacobs8(a)adsltotaal.nl>
Thanks, Nils.