mptable: Refactor lintsrc generation
[coreboot.git] / src / mainboard / intel / jarrell / mptable.c
index 68e6a9af654944a984011a0c4c2e06d7c3167a8e..a68aaafbef94e5609d9c414a522a95f08b2f120b 100644 (file)
@@ -19,7 +19,7 @@ static void *smp_write_config_table(void *v)
 
        mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
 
-       mptable_init(mc, "SE7520JR20  ", LAPIC_ADDR);
+       mptable_init(mc, LAPIC_ADDR);
 
        smp_write_processors(mc);
 
@@ -167,10 +167,7 @@ static void *smp_write_config_table(void *v)
                bus_isa, 0x0a, 0x08, 0x10);
 
        /* Standard local interrupt assignments */
-       smp_write_lintsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_DEFAULT|MP_IRQ_POLARITY_DEFAULT,
-               bus_isa, 0x00, MP_APIC_ALL, 0x00);
-       smp_write_lintsrc(mc, mp_NMI, MP_IRQ_TRIGGER_DEFAULT|MP_IRQ_POLARITY_DEFAULT,
-               bus_isa, 0x00, MP_APIC_ALL, 0x01);
+       mptable_lintsrc(mc, bus_isa);
 
        /* FIXME verify I have the irqs handled for all of the risers */