summaryrefslogtreecommitdiff
path: root/util/inteltool/gpio.c
diff options
context:
space:
mode:
authorqeed <qeed.quan@gmail.com>2018-06-19 19:52:19 -0400
committerPatrick Georgi <pgeorgi@google.com>2018-06-21 17:39:48 +0000
commitb775a62bb9fe07785b83767d58573937c5783bec (patch)
tree234c5f37e7d140ebf5b0825a592aef63a3a8b9ab /util/inteltool/gpio.c
parente66b10f3e14adeded101d26f5aa731ff2fa483b9 (diff)
downloadcoreboot-b775a62bb9fe07785b83767d58573937c5783bec.tar.xz
inteltool: Add PCI IDs for the C220 PCH series
Adds missing PCI IDs to allow tool to dump the C220 PCH (8 series) southbridge. Intel Document 328904 is the datasheet for this PCH. Change-Id: I07a8f2e9cb0ee8677c8fe2c51881147ed81c1a35 Signed-off-by: Quan Tran <qeed.quan@gmail.com> Reviewed-on: https://review.coreboot.org/27168 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/inteltool/gpio.c')
-rw-r--r--util/inteltool/gpio.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/util/inteltool/gpio.c b/util/inteltool/gpio.c
index 5e310359f7..c38051c911 100644
--- a/util/inteltool/gpio.c
+++ b/util/inteltool/gpio.c
@@ -852,7 +852,27 @@ int print_gpios(struct pci_dev *sb, int show_all, int show_diffs)
gpiobase = pci_read_word(sb, 0x48) & 0xfffc;
gpio_registers = lynxpoint_lp_gpio_registers;
size = ARRAY_SIZE(lynxpoint_lp_gpio_registers);
- break;
+ break;
+ case PCI_DEVICE_ID_INTEL_C8_MOBILE:
+ case PCI_DEVICE_ID_INTEL_C8_DESKTOP:
+ case PCI_DEVICE_ID_INTEL_Z87:
+ case PCI_DEVICE_ID_INTEL_Z85:
+ case PCI_DEVICE_ID_INTEL_HM86:
+ case PCI_DEVICE_ID_INTEL_H87:
+ case PCI_DEVICE_ID_INTEL_HM87:
+ case PCI_DEVICE_ID_INTEL_Q85:
+ case PCI_DEVICE_ID_INTEL_Q87:
+ case PCI_DEVICE_ID_INTEL_QM87:
+ case PCI_DEVICE_ID_INTEL_B85:
+ case PCI_DEVICE_ID_INTEL_C222:
+ case PCI_DEVICE_ID_INTEL_C224:
+ case PCI_DEVICE_ID_INTEL_C226:
+ case PCI_DEVICE_ID_INTEL_H81:
+ gpiobase = pci_read_word(sb, 0x48) & 0xfffc;
+ gpio_registers = lynxpoint_lp_gpio_registers;
+ /* Shares register locations but has less of them */
+ size = 29;
+ break;
case PCI_DEVICE_ID_INTEL_3400:
case PCI_DEVICE_ID_INTEL_3420:
case PCI_DEVICE_ID_INTEL_3450: