summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMaxim Polyakov <max.senia.poliak@gmail.com>2020-07-17 00:19:41 +0300
committerDavid Hendricks <david.hendricks@gmail.com>2020-07-21 16:40:48 +0000
commitde7092b8a3f863bd974e76f88358a779ba20a6e2 (patch)
tree03f702815e25502608f42cd3276e15b8b4b49a83 /util
parentec0551c6b061d0bef1f9a8ec3027f7eabd088cbb (diff)
downloadcoreboot-de7092b8a3f863bd974e76f88358a779ba20a6e2.tar.gz
coreboot-de7092b8a3f863bd974e76f88358a779ba20a6e2.tar.bz2
coreboot-de7092b8a3f863bd974e76f88358a779ba20a6e2.zip
inteltool/gpio: Add support for new Lewisburg chipsets
- Add SKUs and Super SKUs of new Lewisburg series chipsets: C621A, C627A, C629A [1]. - These changes allow the utility to generate the GPIO config registers dump. [1] https://review.coreboot.org/c/coreboot/+/40395 Change-Id: I9b63c0a3860a901e58af0c0d5184361661bab5e3 Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43534 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/inteltool/gpio.c6
-rw-r--r--util/inteltool/gpio_groups.c6
-rw-r--r--util/inteltool/inteltool.h6
3 files changed, 18 insertions, 0 deletions
diff --git a/util/inteltool/gpio.c b/util/inteltool/gpio.c
index b4f3edad15b3..91f8ebdab93c 100644
--- a/util/inteltool/gpio.c
+++ b/util/inteltool/gpio.c
@@ -1045,11 +1045,17 @@ int print_gpios(struct pci_dev *sb, int show_all, int show_diffs)
case PCI_DEVICE_ID_INTEL_C627:
case PCI_DEVICE_ID_INTEL_C628:
case PCI_DEVICE_ID_INTEL_C629:
+ case PCI_DEVICE_ID_INTEL_C621A:
+ case PCI_DEVICE_ID_INTEL_C627A:
+ case PCI_DEVICE_ID_INTEL_C629A:
case PCI_DEVICE_ID_INTEL_C624_SUPER:
case PCI_DEVICE_ID_INTEL_C627_SUPER_1:
case PCI_DEVICE_ID_INTEL_C621_SUPER:
case PCI_DEVICE_ID_INTEL_C627_SUPER_2:
case PCI_DEVICE_ID_INTEL_C628_SUPER:
+ 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_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 4d341600edac..25489c20fed6 100644
--- a/util/inteltool/gpio_groups.c
+++ b/util/inteltool/gpio_groups.c
@@ -124,11 +124,17 @@ const struct gpio_community *const *get_gpio_communities(struct pci_dev *const s
case PCI_DEVICE_ID_INTEL_C627:
case PCI_DEVICE_ID_INTEL_C628:
case PCI_DEVICE_ID_INTEL_C629:
+ case PCI_DEVICE_ID_INTEL_C621A:
+ case PCI_DEVICE_ID_INTEL_C627A:
+ case PCI_DEVICE_ID_INTEL_C629A:
case PCI_DEVICE_ID_INTEL_C624_SUPER:
case PCI_DEVICE_ID_INTEL_C627_SUPER_1:
case PCI_DEVICE_ID_INTEL_C621_SUPER:
case PCI_DEVICE_ID_INTEL_C627_SUPER_2:
case PCI_DEVICE_ID_INTEL_C628_SUPER:
+ case PCI_DEVICE_ID_INTEL_C621A_SUPER:
+ case PCI_DEVICE_ID_INTEL_C627A_SUPER:
+ case PCI_DEVICE_ID_INTEL_C629A_SUPER:
*community_count = ARRAY_SIZE(lewisburg_communities);
return lewisburg_communities;
case PCI_DEVICE_ID_INTEL_DNV_LPC:
diff --git a/util/inteltool/inteltool.h b/util/inteltool/inteltool.h
index f0a1eb3bf256..e74d74481687 100644
--- a/util/inteltool/inteltool.h
+++ b/util/inteltool/inteltool.h
@@ -169,11 +169,17 @@ static inline uint32_t inl(unsigned port)
#define PCI_DEVICE_ID_INTEL_C627 0xa1c6
#define PCI_DEVICE_ID_INTEL_C628 0xa1c7
#define PCI_DEVICE_ID_INTEL_C629 0xa1ca
+#define PCI_DEVICE_ID_INTEL_C621A 0xa1cb
+#define PCI_DEVICE_ID_INTEL_C627A 0xa1cc
+#define PCI_DEVICE_ID_INTEL_C629A 0xa1cd
#define PCI_DEVICE_ID_INTEL_C624_SUPER 0xa242
#define PCI_DEVICE_ID_INTEL_C627_SUPER_1 0xa243
#define PCI_DEVICE_ID_INTEL_C621_SUPER 0xa244
#define PCI_DEVICE_ID_INTEL_C627_SUPER_2 0xa245
#define PCI_DEVICE_ID_INTEL_C628_SUPER 0xa246
+#define PCI_DEVICE_ID_INTEL_C621A_SUPER 0xa24a
+#define PCI_DEVICE_ID_INTEL_C627A_SUPER 0xa24b
+#define PCI_DEVICE_ID_INTEL_C629A_SUPER 0xa24c
#define PCI_DEVICE_ID_INTEL_H310 0xa303
#define PCI_DEVICE_ID_INTEL_H370 0xa304