summaryrefslogtreecommitdiff
path: root/util/inteltool/gpio.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2022-10-07 00:18:04 +0200
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-08 21:03:58 +0000
commitaa4cd73409db2564a8d50ce952b083a8148e88f0 (patch)
treef812410698177108560c4360bcd2693becd810eb /util/inteltool/gpio.c
parentd750875cde699ffdf78542f281600f443cb52c00 (diff)
util/inteltool: Add 9 series PCH support
Add the PCI device IDs for 9 series PCHs. Change-Id: Id216cd071b09c93ee6a4792944c6fad39254aa3b Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68185 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util/inteltool/gpio.c')
-rw-r--r--util/inteltool/gpio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/inteltool/gpio.c b/util/inteltool/gpio.c
index aa525929fe..2f27ac30ef 100644
--- a/util/inteltool/gpio.c
+++ b/util/inteltool/gpio.c
@@ -856,6 +856,11 @@ int print_gpios(struct pci_dev *sb, int show_all, int show_diffs)
case PCI_DEVICE_ID_INTEL_C224:
case PCI_DEVICE_ID_INTEL_C226:
case PCI_DEVICE_ID_INTEL_H81:
+ case PCI_DEVICE_ID_INTEL_C9_MOBILE:
+ case PCI_DEVICE_ID_INTEL_C9_DESKTOP:
+ case PCI_DEVICE_ID_INTEL_HM97:
+ case PCI_DEVICE_ID_INTEL_Z97:
+ case PCI_DEVICE_ID_INTEL_H97:
gpiobase = pci_read_word(sb, 0x48) & 0xfffc;
gpio_registers = pch_gpio_registers;
size = ARRAY_SIZE(pch_gpio_registers);