aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801jx/early_smbus.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-04-09 20:48:37 +0200
committerMartin Roth <martinroth@google.com>2017-07-21 15:44:19 +0000
commit349e08535a7666cabe52ebc331e3bce5468b786b (patch)
tree6e337227e7450ac1d931ac61eaf939ae936ad50c /src/southbridge/intel/i82801jx/early_smbus.c
parent7b9c139ac26eded525980e896b354c99c08cdca7 (diff)
sb/intel/i82801jx: Add correct PCI ids and change names
Change-Id: Ic9226098dafa2465aa5fccc72c442de2b94e44c7 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19249 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/intel/i82801jx/early_smbus.c')
-rw-r--r--src/southbridge/intel/i82801jx/early_smbus.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/southbridge/intel/i82801jx/early_smbus.c b/src/southbridge/intel/i82801jx/early_smbus.c
index 31b33e92d9..fb6c252d39 100644
--- a/src/southbridge/intel/i82801jx/early_smbus.c
+++ b/src/southbridge/intel/i82801jx/early_smbus.c
@@ -19,7 +19,7 @@
#include <console/console.h>
#include <device/pci_ids.h>
#include <device/pci_def.h>
-#include "i82801ix.h"
+#include "i82801jx.h"
#include "smbus.h"
void enable_smbus(void)
@@ -29,11 +29,6 @@ void enable_smbus(void)
/* Set the SMBus device statically. */
dev = PCI_DEV(0x0, 0x1f, 0x3);
- /* Check to make sure we've got the right device. */
- if (pci_read_config16(dev, 0x2) != 0x2930) {
- die("SMBus controller not found!");
- }
-
/* Set SMBus I/O base. */
pci_write_config32(dev, SMB_BASE,
SMBUS_IO_BASE | PCI_BASE_ADDRESS_SPACE_IO);