summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2019-07-29 21:53:14 +0200
committerNico Huber <nico.h@gmx.de>2019-07-31 18:06:07 +0000
commitf98dc4838655de3567e7ca025c2240c1fbb0a90a (patch)
tree84461338fe0928cb05f1d0136fa657e9b1c10baf /util
parent7706a04c603474400234cc72a27a61070845eca2 (diff)
downloadcoreboot-f98dc4838655de3567e7ca025c2240c1fbb0a90a.tar.xz
inteltool: Add GPIO support for Skylake-H chipsets
PCH IDs: - H170, Z170, Q170, Q150, C232, QM170, HM170 Used documents: - Intel 332690-005EN Change-Id: I33bf67c0c9d8a5a079fcc78f24a43bc421b2910c Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34618 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util')
-rw-r--r--util/inteltool/gpio.c9
-rw-r--r--util/inteltool/gpio_groups.c9
2 files changed, 16 insertions, 2 deletions
diff --git a/util/inteltool/gpio.c b/util/inteltool/gpio.c
index 1dfb8964bf..741aed4cca 100644
--- a/util/inteltool/gpio.c
+++ b/util/inteltool/gpio.c
@@ -1025,9 +1025,16 @@ int print_gpios(struct pci_dev *sb, int show_all, int show_diffs)
size = ARRAY_SIZE(baytrail_score_ssus_gpio_registers);
break;
case PCI_DEVICE_ID_INTEL_H110:
+ case PCI_DEVICE_ID_INTEL_H170:
+ case PCI_DEVICE_ID_INTEL_Z170:
+ case PCI_DEVICE_ID_INTEL_Q170:
+ case PCI_DEVICE_ID_INTEL_Q150:
case PCI_DEVICE_ID_INTEL_B150:
- case PCI_DEVICE_ID_INTEL_CM236:
case PCI_DEVICE_ID_INTEL_C236:
+ case PCI_DEVICE_ID_INTEL_C232:
+ case PCI_DEVICE_ID_INTEL_QM170:
+ case PCI_DEVICE_ID_INTEL_HM170:
+ case PCI_DEVICE_ID_INTEL_CM236:
case PCI_DEVICE_ID_INTEL_APL_LPC:
case PCI_DEVICE_ID_INTEL_DNV_LPC:
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_PRE:
diff --git a/util/inteltool/gpio_groups.c b/util/inteltool/gpio_groups.c
index 24d6c8ed16..0387418250 100644
--- a/util/inteltool/gpio_groups.c
+++ b/util/inteltool/gpio_groups.c
@@ -1773,9 +1773,16 @@ void print_gpio_groups(struct pci_dev *const sb)
switch (sb->device_id) {
case PCI_DEVICE_ID_INTEL_H110:
+ case PCI_DEVICE_ID_INTEL_H170:
+ case PCI_DEVICE_ID_INTEL_Z170:
+ case PCI_DEVICE_ID_INTEL_Q170:
+ case PCI_DEVICE_ID_INTEL_Q150:
case PCI_DEVICE_ID_INTEL_B150:
- case PCI_DEVICE_ID_INTEL_CM236:
case PCI_DEVICE_ID_INTEL_C236:
+ case PCI_DEVICE_ID_INTEL_C232:
+ case PCI_DEVICE_ID_INTEL_QM170:
+ case PCI_DEVICE_ID_INTEL_HM170:
+ case PCI_DEVICE_ID_INTEL_CM236:
community_count = ARRAY_SIZE(sunrise_communities);
communities = sunrise_communities;
pcr_init(sb);