From 390648df6480fff86acd2a51600fc0352aef7597 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 12 Nov 2007 11:14:10 +0000 Subject: Fix the remaining issues with GA-M57SLI Super I/O GPIO configuration. With this patch, flashing the parallel EEPROM on board revisions 1.x finally works. Flashing the serial EEPROM of board revisions 2.x is just one patch away. Torsten Duwe says: Flash erase on my board was failing reliably. Now it works! Andreas B. Mundt says: For the first time I was able to write with flashrom and LB. $flashrom -Vv --write linuxbios.rom [...] Vendor ID: GIGABYTE, part ID: m57sli Found chipset "NVIDIA MCP55", enabling flash write... OK. [...] SST49LF040B found at physical address 0xfff80000. Flash part is SST49LF040B (512 KB). LinuxBIOS last image size (not ROM size) is 4096 bytes. Manufacturer: GIGABYTE Mainboard ID: m57sli This firmware image matches this motherboard. Programming page: 0007 at address: 0x00070000 Verifying flash... VERIFIED. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Torsten Duwe Tested-by: Andreas B. Mundt Tested-by: Torsten Duwe git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2955 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/ite/it8716f/it8716f.h | 1 + src/superio/ite/it8716f/superio.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/superio/ite') diff --git a/src/superio/ite/it8716f/it8716f.h b/src/superio/ite/it8716f/it8716f.h index 6afb58d8be..9ec358edb1 100644 --- a/src/superio/ite/it8716f/it8716f.h +++ b/src/superio/ite/it8716f/it8716f.h @@ -28,6 +28,7 @@ #define IT8716F_EC 0x04 /* Environment controller */ #define IT8716F_KBCK 0x05 /* Keyboard */ #define IT8716F_KBCM 0x06 /* Mouse */ +#define IT8716F_GPIO 0x07 /* GPIO */ #define IT8716F_MIDI 0x08 /* MIDI port */ #define IT8716F_GAME 0x09 /* GAME port */ #define IT8716F_IR 0x0a /* Consumer IR */ diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c index 0d3fc3a09c..d43e202158 100644 --- a/src/superio/ite/it8716f/superio.c +++ b/src/superio/ite/it8716f/superio.c @@ -152,7 +152,7 @@ static struct pnp_info pnp_dev_info[] = { {&ops, IT8716F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, {0x7ff, 0}, {0x7ff, 0x4},}, {&ops, IT8716F_KBCM, PNP_IRQ0,}, - // No 7 { 0,}, + {&ops, IT8716F_GPIO,}, {&ops, IT8716F_MIDI, PNP_IO0 | PNP_IRQ0, {0x7fe, 0x4},}, {&ops, IT8716F_GAME, PNP_IO0, {0x7ff, 0},}, {&ops, IT8716F_IR,}, -- cgit v1.2.3