From 2073ce2675b5d18dd86a8e4cb651a2185c9bf18a Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 6 Sep 2006 16:12:39 +0000 Subject: Patch from Uwe Hermann: * support for it8716f. * minor fixes for it8712f, it8671f, it8673f git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2396 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/ite/it8671f/it8671f.h | 3 +++ src/superio/ite/it8671f/it8671f_early_serial.c | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/superio/ite/it8671f') diff --git a/src/superio/ite/it8671f/it8671f.h b/src/superio/ite/it8671f/it8671f.h index 98ef0f75ab..ac3733dbc5 100644 --- a/src/superio/ite/it8671f/it8671f.h +++ b/src/superio/ite/it8671f/it8671f.h @@ -16,6 +16,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +/* Datasheet: Not available online, got it from ITE per request. */ +/* Status: Com1 is tested and works. */ + #define IT8671F_FDC 0x00 /* Floppy */ #define IT8671F_SP1 0x01 /* Com1 */ #define IT8671F_SP2 0x02 /* Com2 */ diff --git a/src/superio/ite/it8671f/it8671f_early_serial.c b/src/superio/ite/it8671f/it8671f_early_serial.c index 31ea97f506..26feee27cd 100644 --- a/src/superio/ite/it8671f/it8671f_early_serial.c +++ b/src/superio/ite/it8671f/it8671f_early_serial.c @@ -20,9 +20,9 @@ #include "it8671f.h" /* The base address is 0x3f0, 0x3bd, or 0x370, depending on config bytes. */ -#define SIO_BASE 0x3f0 -#define SIO_INDEX SIO_BASE -#define SIO_DATA SIO_BASE+1 +#define SIO_BASE 0x3f0 +#define SIO_INDEX SIO_BASE +#define SIO_DATA SIO_BASE+1 /* Global Configuration Registers. */ #define IT8671F_CONFIG_REG_CC 0x02 /* Configure Control (write-only). */ @@ -31,7 +31,6 @@ #define IT8671F_CONFIG_REG_SWSUSP 0x24 /* Software Suspend. */ #define IT8671F_CONFIGURATION_PORT 0x0279 /* Write-only. */ -#define IT8671F_WRITE_DATA_PORT 0x0A79 /* Write-only. */ /* Special values used for entering MB PnP mode. The first four bytes of * each line determine the address port, the last four are data. */ -- cgit v1.2.3