From 652cd810f0b5b71fa46d780e70106d8aad5bcc67 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 5 Oct 2009 12:08:37 +0000 Subject: Without these fixes the w83627dhg driver (which is currently not used by any mainboard in the tree) does neither compile nor work. Signed-off-by: Stefan Reinauer Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4724 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/winbond/w83627dhg/superio.c | 3 ++- src/superio/winbond/w83627dhg/w83627dhg.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/superio') diff --git a/src/superio/winbond/w83627dhg/superio.c b/src/superio/winbond/w83627dhg/superio.c index a1c3f1e4b6..232041ee4a 100644 --- a/src/superio/winbond/w83627dhg/superio.c +++ b/src/superio/winbond/w83627dhg/superio.c @@ -103,7 +103,8 @@ static struct pnp_info pnp_dev_info[] = { { &ops, W83627DHG_SP1, PNP_IO0 | PNP_IRQ0, { 0xff8, 0 }, }, { &ops, W83627DHG_SP2, PNP_IO0 | PNP_IRQ0, { 0xff8, 0 }, }, { &ops, W83627DHG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, { 0xfff, 0 }, { 0xfff, 0x4}, }, - { &ops, W83627DHG_SPI, PNP_IO1, { 0xff8, 0 }, }, + // the next line makes coreboot hang in pnp_enable_devices() + // { &ops, W83627DHG_SPI, PNP_IO1, { 0xff8, 0 }, }, { &ops, W83627DHG_GPIO6, }, { &ops, W83627DHG_WDTO_PLED, }, { &ops, W83627DHG_GPIO2345, }, diff --git a/src/superio/winbond/w83627dhg/w83627dhg.h b/src/superio/winbond/w83627dhg/w83627dhg.h index e044e0d6dc..cd74fe3397 100644 --- a/src/superio/winbond/w83627dhg/w83627dhg.h +++ b/src/superio/winbond/w83627dhg/w83627dhg.h @@ -26,7 +26,7 @@ #define W83627DHG_SPI 6 /* Serial peripheral interface */ #define W83627DHG_GPIO6 7 /* GPIO6 */ #define W83627DHG_WDTO_PLED 8 /* WDTO#, PLED */ -#define W83627DHG_GPIO_SUSLED 9 /* GPIO2, GPIO3, GPIO4, GPIO5 */ +#define W83627DHG_GPIO2345 9 /* GPIO2, GPIO3, GPIO4, GPIO5 */ #define W83627DHG_ACPI 10 /* ACPI */ #define W83627DHG_HWM 11 /* Hardware monitor */ #define W83627DHG_PECI_SST 12 /* PECI, SST */ -- cgit v1.2.3