southbridge/bd82x6x - add GNVS var for trackpad IRQ

Add a GNVS variable to store trackpad IRQ for google/parrot, so
that both SNB and IVB variants can be built with the same config

Change-Id: I232da4077e3400b8ef2520dc33fd770c731b7ec3
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/20092
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Matt DeVillier 2016-10-28 00:37:16 -05:00 committed by Martin Roth
parent 739ded5c18
commit aff9b30851
2 changed files with 3 additions and 1 deletions

View File

@ -175,6 +175,7 @@ Field (GNVS, ByteAcc, NoLock, Preserve)
ALFP, 8, // 0xf2 - active lfp ALFP, 8, // 0xf2 - active lfp
IMON, 8, // 0xf3 - current graphics turbo imon value IMON, 8, // 0xf3 - current graphics turbo imon value
MMIO, 8, // 0xf4 - 64bit mmio support MMIO, 8, // 0xf4 - 64bit mmio support
TPIQ, 8, // 0xf5 - trackpad IRQ value
/* ChromeOS specific */ /* ChromeOS specific */
Offset (0x100), Offset (0x100),

View File

@ -145,7 +145,8 @@ typedef struct {
u8 alfp; /* 0xf2 - active lfp */ u8 alfp; /* 0xf2 - active lfp */
u8 imon; /* 0xf3 - current graphics turbo imon value */ u8 imon; /* 0xf3 - current graphics turbo imon value */
u8 mmio; /* 0xf4 - 64bit mmio support */ u8 mmio; /* 0xf4 - 64bit mmio support */
u8 rsvd13[11]; /* 0xf5 - rsvd */ u8 tpiq; /* 0xf5 - trackpad IRQ value */
u8 rsvd13[10]; /* 0xf6 - rsvd */
/* ChromeOS specific (starts at 0x100)*/ /* ChromeOS specific (starts at 0x100)*/
chromeos_acpi_t chromeos; chromeos_acpi_t chromeos;