aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x60/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/x60/mptable.c
parent72f35a62be1e9ebc5903056cdb210ea176e2cc8a (diff)
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/x60/mptable.c')
-rw-r--r--src/mainboard/lenovo/x60/mptable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/lenovo/x60/mptable.c b/src/mainboard/lenovo/x60/mptable.c
index f21e76fc4b..8ade71b006 100644
--- a/src/mainboard/lenovo/x60/mptable.c
+++ b/src/mainboard/lenovo/x60/mptable.c
@@ -66,9 +66,7 @@ static void *smp_write_config_table(void *v)
smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x05, (0x00 << 2) | 0x01, 0x02, 0x11); /* Firewire 5:00.1 */
smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x05, (0x00 << 2) | 0x02, 0x02, 0x12); /* SDHC 5:00.2 */
- 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);
}