Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1178
-gerrit
commit 29cadf18204929842781120325b7301e6dbe1612
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Fri Jul 6 11:31:39 2012 +0200
i945: Reset IGD on boot
This is mostly necessary for reboot, but it doesn't hurt the boot process.
On reboot explicitely reset the integrated graphics, otherwise the VGABIOS
might not be able to reinitialize it properly, and you either have a still
of the last pre-reboot image, garbage or an empty screen, but no text-mode.
Change-Id: Ic3d6932fbaf720d88daaac7e4b09c3c0b9f0b0e2
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
---
src/northbridge/intel/i945/gma.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index 340ddcd..b703a80 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -18,15 +18,25 @@
*/
#include <console/console.h>
+#include <delay.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <pc80/mc146818rtc.h>
+#define GDRST 0xc0
+
static void gma_func0_init(struct device *dev)
{
u32 reg32;
+ /* Unconditionally reset graphics */
+ pci_write_config8(dev, GDRST, 1);
+ udelay(50);
+ pci_write_config8(dev, GDRST, 0);
+ /* wait for device to finish */
+ while (pci_read_config8(dev, GDRST) & 1) { };
+
/* IGD needs to be Bus Master */
reg32 = pci_read_config32(dev, PCI_COMMAND);
pci_write_config32(dev, PCI_COMMAND, reg32 | PCI_COMMAND_MASTER);
the following patch was just integrated into master:
commit f41948308c9360389680c1d12c5c1d406354048b
Author: Guenter Roeck <linux(a)roeck-us.net>
Date: Fri Jun 29 12:25:46 2012 -0700
superiotool: Add support for git-based version number
The superiotool Makefile extracts a version string from SVN. This does not work
with a git repository, and results in an empty version string. Use the output of
'git describe' as version string instead.
Change-Id: Idf92c02753b28ef5bcdd3b6df4a08d79ae974434
Signed-off-by: Guenter Roeck <linux(a)roeck-us.net>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Fri Jul 6 10:21:02 2012, giving +2
See http://review.coreboot.org/1151 for details.
-gerrit
Guenter Roeck (linux(a)roeck-us.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1151
-gerrit
commit f41948308c9360389680c1d12c5c1d406354048b
Author: Guenter Roeck <linux(a)roeck-us.net>
Date: Fri Jun 29 12:25:46 2012 -0700
superiotool: Add support for git-based version number
The superiotool Makefile extracts a version string from SVN. This does not work
with a git repository, and results in an empty version string. Use the output of
'git describe' as version string instead.
Change-Id: Idf92c02753b28ef5bcdd3b6df4a08d79ae974434
Signed-off-by: Guenter Roeck <linux(a)roeck-us.net>
---
util/superiotool/Makefile | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index e7d2f63..41625d3 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -24,13 +24,12 @@ CC = gcc
INSTALL = /usr/bin/install
PREFIX = /usr/local
-# Set the superiotool version string from the highest revision number
-# of the checked out superiotool files.
-SVNDEF := -D'SUPERIOTOOL_VERSION="$(shell svnversion -cn . \
- | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
+# Set the superiotool version string to the output of 'git describe'.
+
+VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \
- -Werror-implicit-function-declaration -ansi -pedantic $(SVNDEF)
+ -Werror-implicit-function-declaration -ansi -pedantic $(VERSION)
LDFLAGS += -lz
OBJS = superiotool.o serverengines.o ali.o fintek.o ite.o nsc.o nuvoton.o \
the following patch was just integrated into master:
commit 20b915f02ecd847742920f8faccea2ec8c28b7af
Author: Ronald G. Minnich <rminnich(a)gmail.com>
Date: Mon Jul 2 09:41:10 2012 -0700
PCI Type2 config must die
PCI Type 2 config was a strange and never-used config mechanism.
It is unlikely that in the 13 years of coreboot's existence that
type 2 was ever used; it just made life complicated for everyone.
It lived long enough in coreboot to be replaced by mmioconf.
Prior to making the device tree visible in romstage we want to
get rid of type2.
Delete two files we don't need any more (yay!).
Replace two functions with one: pci_config_default, which returns
a pointer to the default config method. At some future time this
may change to mmio but for now it is old type1 style.
Change-Id: Icc4ccf379a89bfca8be43f305b68ab45d88bf0ab
Signed-off-by: Ronald G. Minnich <rminnich(a)gmail.com>
Build-Tested: build bot (Jenkins) at Tue Jul 3 02:32:25 2012, giving +1
Reviewed-By: Sven Schnelle <svens(a)stackframe.org> at Thu Jul 5 23:00:43 2012, giving +2
See http://review.coreboot.org/1159 for details.
-gerrit