diff options
author | Stefan Reinauer <stepan@openbios.org> | 2006-08-23 14:28:37 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2006-08-23 14:28:37 +0000 |
commit | eca92fb37127246b3c1f323442322e93ed65861d (patch) | |
tree | 7aca3eaa45135eea56ebde5613e6ac26714ca976 /src/southbridge/intel/i82801ca/i82801ca_smbus.c | |
parent | 6a1540b606f55e8b91ac6502af62f1b0c091efe3 (diff) |
Uwe Hermann:
here's a patch which replaces all DOS newlines with Unix newlines, and
removes some useless $Rev$, $Id$, and $Header$ tags.
(part 1)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2385 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/intel/i82801ca/i82801ca_smbus.c')
-rw-r--r-- | src/southbridge/intel/i82801ca/i82801ca_smbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801ca/i82801ca_smbus.c b/src/southbridge/intel/i82801ca/i82801ca_smbus.c index ab95e69e70..0eceba7103 100644 --- a/src/southbridge/intel/i82801ca/i82801ca_smbus.c +++ b/src/southbridge/intel/i82801ca/i82801ca_smbus.c @@ -1,7 +1,7 @@ #include <smbus.h> #include <pci.h> #include <arch/io.h> -#include "i82801ca.h"
+#include "i82801ca.h" #define PM_BUS 0 #define PM_DEVFN PCI_DEVFN(0x1f,3) @@ -9,7 +9,7 @@ void smbus_enable(void) { /* iobase addr */ - pcibios_write_config_dword(PM_BUS, PM_DEVFN, SMB_BASE,
+ pcibios_write_config_dword(PM_BUS, PM_DEVFN, SMB_BASE, SMBUS_IO_BASE | PCI_BASE_ADDRESS_SPACE_IO); /* smbus enable */ pcibios_write_config_byte(PM_BUS, PM_DEVFN, HOSTC, HST_EN); |