summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t60/mptable.c
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2012-06-24 10:02:22 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2012-06-24 13:03:52 +0200
commitf03dff7ab1829b5662099fc41eb89346aa2f2a55 (patch)
tree53727811a44ebd1efbebce1ae82d6cc4964f0043 /src/mainboard/lenovo/t60/mptable.c
parent72f35a62be1e9ebc5903056cdb210ea176e2cc8a (diff)
downloadcoreboot-f03dff7ab1829b5662099fc41eb89346aa2f2a55.tar.xz
X60/T60: fix mptable LINT entries
They used MP_IRQ_TRIGGER_LEVEL, but it should be MP_IRQ_TRIGGER_EDGE. While at it, uses mptable_lintsrc() instead. Change-Id: Ie71311b8bf865889cf0d8808467df98af4b0132d Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/1136 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/lenovo/t60/mptable.c')
-rw-r--r--src/mainboard/lenovo/t60/mptable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/lenovo/t60/mptable.c b/src/mainboard/lenovo/t60/mptable.c
index 312e30dde1..744ef30ea3 100644
--- a/src/mainboard/lenovo/t60/mptable.c
+++ b/src/mainboard/lenovo/t60/mptable.c
@@ -64,9 +64,7 @@ static void *smp_write_config_table(void *v)
smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x00, (0x1f << 2) | 0x02, 0x02, 0x10); /* SATA 0:1f.2 */
smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x06, (0x00 << 2) | 0x00, 0x02, 0x10); /* Cardbus 6:00.0 */
- smp_write_lintsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 0);
- smp_write_lintsrc(mc, mp_NMI, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 1);
-
+ mptable_lintsrc(mc, isa_bus);
return mptable_finalize(mc);
}