summaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r--src/southbridge/intel/bd82x6x/lpc.c2
-rw-r--r--src/southbridge/intel/i82801dx/lpc.c2
-rw-r--r--src/southbridge/intel/i82801gx/lpc.c2
-rw-r--r--src/southbridge/intel/i82801ix/lpc.c2
-rw-r--r--src/southbridge/intel/i82801jx/lpc.c2
-rw-r--r--src/southbridge/intel/ibexpeak/lpc.c2
-rw-r--r--src/southbridge/intel/lynxpoint/lpc.c3
7 files changed, 7 insertions, 8 deletions
diff --git a/src/southbridge/intel/bd82x6x/lpc.c b/src/southbridge/intel/bd82x6x/lpc.c
index 46351890cd..7c10c817ea 100644
--- a/src/southbridge/intel/bd82x6x/lpc.c
+++ b/src/southbridge/intel/bd82x6x/lpc.c
@@ -44,7 +44,7 @@ static void pch_enable_ioapic(struct device *dev)
/* affirm full set of redirection table entries ("write once") */
ioapic_lock_max_vectors(VIO_APIC_VADDR);
- setup_ioapic(VIO_APIC_VADDR, 0x02);
+ register_new_ioapic_gsi0(VIO_APIC_VADDR);
}
static void pch_enable_serial_irqs(struct device *dev)
diff --git a/src/southbridge/intel/i82801dx/lpc.c b/src/southbridge/intel/i82801dx/lpc.c
index 1de3766563..1569c1c14b 100644
--- a/src/southbridge/intel/i82801dx/lpc.c
+++ b/src/southbridge/intel/i82801dx/lpc.c
@@ -50,7 +50,7 @@ static void i82801dx_enable_ioapic(struct device *dev)
pci_write_config32(dev, GEN_CNTL, reg32);
printk(BIOS_DEBUG, "IOAPIC Southbridge enabled %x\n", reg32);
- setup_ioapic(VIO_APIC_VADDR, 0x02);
+ register_new_ioapic_gsi0(VIO_APIC_VADDR);
ioapic_set_boot_config(VIO_APIC_VADDR, true);
}
diff --git a/src/southbridge/intel/i82801gx/lpc.c b/src/southbridge/intel/i82801gx/lpc.c
index 90d4eabefe..ec0df2722c 100644
--- a/src/southbridge/intel/i82801gx/lpc.c
+++ b/src/southbridge/intel/i82801gx/lpc.c
@@ -33,7 +33,7 @@
*/
static void i82801gx_enable_ioapic(struct device *dev)
{
- setup_ioapic(VIO_APIC_VADDR, 0x02);
+ register_new_ioapic_gsi0(VIO_APIC_VADDR);
}
static void i82801gx_enable_serial_irqs(struct device *dev)
diff --git a/src/southbridge/intel/i82801ix/lpc.c b/src/southbridge/intel/i82801ix/lpc.c
index 8d44384cea..24b8a27e63 100644
--- a/src/southbridge/intel/i82801ix/lpc.c
+++ b/src/southbridge/intel/i82801ix/lpc.c
@@ -35,7 +35,7 @@ static void i82801ix_enable_apic(struct device *dev)
/* Lock maximum redirection entries (MRE), R/WO register. */
ioapic_lock_max_vectors(VIO_APIC_VADDR);
- setup_ioapic(VIO_APIC_VADDR, 2); /* ICH7 code uses id 2. */
+ register_new_ioapic_gsi0(VIO_APIC_VADDR);
}
static void i82801ix_enable_serial_irqs(struct device *dev)
diff --git a/src/southbridge/intel/i82801jx/lpc.c b/src/southbridge/intel/i82801jx/lpc.c
index 1297837e33..7dfc33ff3f 100644
--- a/src/southbridge/intel/i82801jx/lpc.c
+++ b/src/southbridge/intel/i82801jx/lpc.c
@@ -36,7 +36,7 @@ static void i82801jx_enable_apic(struct device *dev)
/* Lock maximum redirection entries (MRE), R/WO register. */
ioapic_lock_max_vectors(VIO_APIC_VADDR);
- setup_ioapic(VIO_APIC_VADDR, 2); /* ICH7 code uses id 2. */
+ register_new_ioapic_gsi0(VIO_APIC_VADDR);
}
static void i82801jx_enable_serial_irqs(struct device *dev)
diff --git a/src/southbridge/intel/ibexpeak/lpc.c b/src/southbridge/intel/ibexpeak/lpc.c
index d4e3098ad2..f0d0ac92ed 100644
--- a/src/southbridge/intel/ibexpeak/lpc.c
+++ b/src/southbridge/intel/ibexpeak/lpc.c
@@ -35,7 +35,7 @@ static void pch_enable_ioapic(struct device *dev)
/* affirm full set of redirection table entries ("write once") */
ioapic_lock_max_vectors(VIO_APIC_VADDR);
- setup_ioapic(VIO_APIC_VADDR, 0x01);
+ register_new_ioapic_gsi0(VIO_APIC_VADDR);
}
static void pch_enable_serial_irqs(struct device *dev)
diff --git a/src/southbridge/intel/lynxpoint/lpc.c b/src/southbridge/intel/lynxpoint/lpc.c
index 20e40cbacb..b8e9d5f595 100644
--- a/src/southbridge/intel/lynxpoint/lpc.c
+++ b/src/southbridge/intel/lynxpoint/lpc.c
@@ -42,8 +42,7 @@ static void pch_enable_ioapic(struct device *dev)
else
ioapic_lock_max_vectors(VIO_APIC_VADDR);
- setup_ioapic(VIO_APIC_VADDR, 0x02);
-
+ register_new_ioapic_gsi0(VIO_APIC_VADDR);
}
static void pch_enable_serial_irqs(struct device *dev)