aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asus/am1i-a/mainboard.c
diff options
context:
space:
mode:
authorMike Banon <mikebdp2@gmail.com>2020-01-07 18:47:40 +0300
committerNico Huber <nico.h@gmx.de>2020-01-10 15:18:28 +0000
commit834d8c29988f545bccedbd6af0ceaac593421077 (patch)
tree75902f58bffa1d09ab8454f2aab23c1d92f9c38f /src/mainboard/asus/am1i-a/mainboard.c
parentb8de01583531a758eb87c910417e2dfb89975ac2 (diff)
asus/am1i-a: fix the blue "USB 3.0" ports for OHCI/EHCI "USB 2.0" mode
Set up the proper IRQ routing for OHCI/EHCI devices which appear if XHCI controller is disabled (CONFIG_HUDSON_XHCI_ENABLE is not set). Now both "USB 3.0" ports are working fine at OHCI/EHCI "USB 2.0" mode. They also work fine if XHCI controller is enabled. Signed-off-by: Mike Banon <mikebdp2@gmail.com> Change-Id: I50a773eeab890627abc963e0a61f781d1cea3259 Reviewed-on: https://review.coreboot.org/c/coreboot/+/38241 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/mainboard/asus/am1i-a/mainboard.c')
-rw-r--r--src/mainboard/asus/am1i-a/mainboard.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mainboard/asus/am1i-a/mainboard.c b/src/mainboard/asus/am1i-a/mainboard.c
index ecf4006273..f9a12e58dc 100644
--- a/src/mainboard/asus/am1i-a/mainboard.c
+++ b/src/mainboard/asus/am1i-a/mainboard.c
@@ -34,8 +34,8 @@ static const u8 mainboard_picr_data[FCH_INT_TABLE_SIZE] = {
[0x10] = 0x1F,0x1F,0x1F,0x03,0x1F,0x1F,0x1F,0x1F,
/* IMC INT0 - 5 */
[0x20] = 0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,
- /* USB Devs 18/19 INTA-B */
- [0x30] = 0x05,0x04,0x05,0x04,0x1F,0x1F,
+ /* USB Devs 18/19/22 INTA-B */
+ [0x30] = 0x05,0x04,0x05,0x04,0x05,0x04,0x1F,0x1F,
/* RSVD, SATA */
[0x40] = 0x1F, 0x07
};
@@ -49,8 +49,8 @@ static const u8 mainboard_intr_data[FCH_INT_TABLE_SIZE] = {
[0x10] = 0x09,0x1F,0x1F,0x10,0x1F,0x1F,0x1F,0x1F,
/* IMC INT0 - 5 */
[0x20] = 0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,
- /* USB Devs 18/19 INTA-B */
- [0x30] = 0x12,0x11,0x12,0x11,0x1F,0x1F,
+ /* USB Devs 18/19/22 INTA-B */
+ [0x30] = 0x12,0x11,0x12,0x11,0x12,0x11,0x1F,0x1F,
/* RSVD, SATA */
[0x40] = 0x1F, 0x13
};
@@ -77,6 +77,8 @@ static const struct pirq_struct mainboard_pirq_data[] = {
{EHCI1_DEVFN, {PIRQ_NC, PIRQ_EHCI1, PIRQ_NC, PIRQ_NC}}, /* EHCI1: 12.2 */
{OHCI2_DEVFN, {PIRQ_OHCI2, PIRQ_NC, PIRQ_NC, PIRQ_NC}}, /* OHCI2: 13.0 */
{EHCI2_DEVFN, {PIRQ_NC, PIRQ_EHCI2, PIRQ_NC, PIRQ_NC}}, /* EHCI2: 13.2 */
+ {OHCI3_DEVFN, {PIRQ_OHCI3, PIRQ_NC, PIRQ_NC, PIRQ_NC}}, /* OHCI3: 16.0 */
+ {EHCI3_DEVFN, {PIRQ_NC, PIRQ_EHCI3, PIRQ_NC, PIRQ_NC}}, /* EHCI3: 16.2 */
{HDA_DEVFN, {PIRQ_HDA, PIRQ_NC, PIRQ_NC, PIRQ_NC}}, /* HDA: 14.2 */
};