summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-01-26 14:11:35 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-01-26 16:30:35 +0100
commit8540a8b80fae8c4faff734503d5d36cae3519506 (patch)
tree8ecd883821121b5d5d9dc9a5a93c18825b4437c9 /src
parent1bddb02f05dda2261999fab30764e47ac68b0f82 (diff)
downloadcoreboot-8540a8b80fae8c4faff734503d5d36cae3519506.tar.xz
asus/a8n-e: Add IRQ for onboard audio.
Now onboard audio works. Change-Id: I1a598390c980287744689011b40210cec0145c6a Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4818 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/asus/a8n_e/mptable.c4
1 files changed, 4 insertions, 0 deletions
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,