summaryrefslogtreecommitdiff
path: root/util/inteltool
diff options
context:
space:
mode:
authorTimofey Komarov <happycorsair@yandex.ru>2021-06-25 12:07:32 +0300
committerNico Huber <nico.h@gmx.de>2021-10-24 16:04:49 +0000
commit6c8008283cc54d324bde5be3d89e4234e858349b (patch)
treeec584756d73b9e4ff08dada227f0cbfc5c0de91f /util/inteltool
parent308a5b9dd1a46299d87dc7215512c459d48d69b8 (diff)
util/inteltool: Add PCH IDs for 200 series chipsets
Signed-off-by: Timofey Komarov <happycorsair@yandex.ru> Change-Id: Iadad5e79aef9da3fac627adc135525a5001a72b6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55839 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/inteltool')
-rw-r--r--util/inteltool/gpio.c8
-rw-r--r--util/inteltool/gpio_groups.c8
-rw-r--r--util/inteltool/inteltool.c8
-rw-r--r--util/inteltool/inteltool.h9
-rw-r--r--util/inteltool/pcr.c8
5 files changed, 41 insertions, 0 deletions
diff --git a/util/inteltool/gpio.c b/util/inteltool/gpio.c
index 22bad0e8fa..53164e1cf9 100644
--- a/util/inteltool/gpio.c
+++ b/util/inteltool/gpio.c
@@ -1058,6 +1058,14 @@ int print_gpios(struct pci_dev *sb, int show_all, int show_diffs)
case PCI_DEVICE_ID_INTEL_C621A_SUPER:
case PCI_DEVICE_ID_INTEL_C627A_SUPER:
case PCI_DEVICE_ID_INTEL_C629A_SUPER:
+ case PCI_DEVICE_ID_INTEL_H270:
+ case PCI_DEVICE_ID_INTEL_Z270:
+ case PCI_DEVICE_ID_INTEL_Q270:
+ case PCI_DEVICE_ID_INTEL_Q250:
+ case PCI_DEVICE_ID_INTEL_B250:
+ case PCI_DEVICE_ID_INTEL_Z370:
+ case PCI_DEVICE_ID_INTEL_H310C:
+ case PCI_DEVICE_ID_INTEL_X299:
case PCI_DEVICE_ID_INTEL_H310:
case PCI_DEVICE_ID_INTEL_H370:
case PCI_DEVICE_ID_INTEL_Z390:
diff --git a/util/inteltool/gpio_groups.c b/util/inteltool/gpio_groups.c
index 0ff1c8629f..7be1d5abf8 100644
--- a/util/inteltool/gpio_groups.c
+++ b/util/inteltool/gpio_groups.c
@@ -102,6 +102,14 @@ const struct gpio_community *const *get_gpio_communities(struct pci_dev *const s
case PCI_DEVICE_ID_INTEL_QM170:
case PCI_DEVICE_ID_INTEL_HM170:
case PCI_DEVICE_ID_INTEL_CM236:
+ case PCI_DEVICE_ID_INTEL_H270:
+ case PCI_DEVICE_ID_INTEL_Z270:
+ case PCI_DEVICE_ID_INTEL_Q270:
+ case PCI_DEVICE_ID_INTEL_Q250:
+ case PCI_DEVICE_ID_INTEL_B250:
+ case PCI_DEVICE_ID_INTEL_Z370:
+ case PCI_DEVICE_ID_INTEL_H310C:
+ case PCI_DEVICE_ID_INTEL_X299:
*community_count = ARRAY_SIZE(sunrise_communities);
return sunrise_communities;
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_PRE:
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index f8c5e9161d..0a8431a329 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -295,6 +295,14 @@ static const struct {
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_C627_SUPER_2, "C627 Super SKU" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_C628_SUPER, "C628 Super SKU" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EBG, "Emmits Burg" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_H270, "H270" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_Z270, "Z270" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_Q270, "Q270" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_Q250, "Q250" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_B250, "B250" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_Z370, "Z370" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_H310C, "H310C" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_X299, "X299" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_H310, "H310" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_H370, "H370" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_Z390, "Z390" },
diff --git a/util/inteltool/inteltool.h b/util/inteltool/inteltool.h
index 1ad1224451..40b739f408 100644
--- a/util/inteltool/inteltool.h
+++ b/util/inteltool/inteltool.h
@@ -185,6 +185,15 @@ static inline uint32_t inl(unsigned port)
#define PCI_DEVICE_ID_INTEL_EBG 0x1b81
+#define PCI_DEVICE_ID_INTEL_H270 0xa2c4
+#define PCI_DEVICE_ID_INTEL_Z270 0xa2c5
+#define PCI_DEVICE_ID_INTEL_Q270 0xa2c6
+#define PCI_DEVICE_ID_INTEL_Q250 0xa2c7
+#define PCI_DEVICE_ID_INTEL_B250 0xa2c8
+#define PCI_DEVICE_ID_INTEL_Z370 0xa2c9
+#define PCI_DEVICE_ID_INTEL_H310C 0xa2ca
+#define PCI_DEVICE_ID_INTEL_X299 0xa2d2
+
#define PCI_DEVICE_ID_INTEL_H310 0xa303
#define PCI_DEVICE_ID_INTEL_H370 0xa304
#define PCI_DEVICE_ID_INTEL_Z390 0xa305
diff --git a/util/inteltool/pcr.c b/util/inteltool/pcr.c
index 307dc155c0..921fdf0445 100644
--- a/util/inteltool/pcr.c
+++ b/util/inteltool/pcr.c
@@ -91,6 +91,14 @@ void pcr_init(struct pci_dev *const sb)
case PCI_DEVICE_ID_INTEL_HM175:
case PCI_DEVICE_ID_INTEL_QM175:
case PCI_DEVICE_ID_INTEL_CM238:
+ case PCI_DEVICE_ID_INTEL_H270:
+ case PCI_DEVICE_ID_INTEL_Z270:
+ case PCI_DEVICE_ID_INTEL_Q270:
+ case PCI_DEVICE_ID_INTEL_Q250:
+ case PCI_DEVICE_ID_INTEL_B250:
+ case PCI_DEVICE_ID_INTEL_Z370:
+ case PCI_DEVICE_ID_INTEL_H310C:
+ case PCI_DEVICE_ID_INTEL_X299:
case PCI_DEVICE_ID_INTEL_C621:
case PCI_DEVICE_ID_INTEL_C621A:
case PCI_DEVICE_ID_INTEL_C622: