From 8540a8b80fae8c4faff734503d5d36cae3519506 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 26 Jan 2014 14:11:35 +0100 Subject: asus/a8n-e: Add IRQ for onboard audio. Now onboard audio works. Change-Id: I1a598390c980287744689011b40210cec0145c6a Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/4818 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- src/mainboard/asus/a8n_e/mptable.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/asus/a8n_e') diff --git a/src/mainboard/asus/a8n_e/mptable.c b/src/mainboard/asus/a8n_e/mptable.c index 1c7ca45f9b..a954d92ea9 100644 --- a/src/mainboard/asus/a8n_e/mptable.c +++ b/src/mainboard/asus/a8n_e/mptable.c @@ -92,6 +92,10 @@ static void *smp_write_config_table(void *v) bus_ck804[0], ((sbdn + 2) << 2) | 1, apicid_ck804, 0x14); + /* Onboard audio */ + smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL | MP_IRQ_POLARITY_LOW, + bus_ck804[0], ((sbdn + 4) << 2) | 0, apicid_ck804, 0x3); + // Onboard ck804 SATA 0 smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL | MP_IRQ_POLARITY_LOW, bus_ck804[0], ((sbdn + 7) << 2) | 0, apicid_ck804, -- cgit v1.2.3