Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/86191?usp=email )
Change subject: mb/asus/p8z77-v: Apply vendor PCH interrupt mapping ......................................................................
mb/asus/p8z77-v: Apply vendor PCH interrupt mapping
Got this information from Bill Xie while troubleshooting CB:85413. Apply the differences from vendor to coreboot.
Change-Id: I56f4314eca101cdfcac12594115d373472d1e1db Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c 1 file changed, 15 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/86191/1
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c b/src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c index cd06837..db2d6ae 100644 --- a/src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c +++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c @@ -15,6 +15,21 @@ #define ACPI_DEV PNP_DEV(0x2e, NCT6779D_ACPI) #define GPIO_DEV PNP_DEV(0x2e, NCT6779D_GPIO12345678_V)
+void mainboard_late_rcba_config(void) +{ + RCBA32(D31IP) = (INTC << D31IP_TTIP) | (INTB << D31IP_SIP2) | + (INTC << D31IP_SMIP) | (INTB << D31IP_SIP); + RCBA32(D22IP) = (INTB << D22IP_KTIP) | (INTC << D22IP_IDERIP) | + (INTB << D22IP_MEI2IP) | (INTA << D22IP_MEI1IP); + + DIR_ROUTE(D31IR, PIRQA, PIRQC, PIRQD, PIRQA); + DIR_ROUTE(D29IR, PIRQH, PIRQD, PIRQA, PIRQC); + DIR_ROUTE(D27IR, PIRQG, PIRQB, PIRQC, PIRQD); + DIR_ROUTE(D26IR, PIRQA, PIRQF, PIRQC, PIRQD); + DIR_ROUTE(D25IR, PIRQE, PIRQF, PIRQG, PIRQH); + DIR_ROUTE(D22IR, PIRQA, PIRQD, PIRQC, PIRQB); +} + void bootblock_mainboard_init(void) { u8 gpio5 = 0;