summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingle Hsu <jingle_hsu@wiwynn.com>2020-11-03 20:46:41 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-11-09 10:19:08 +0000
commit4067fa3512cc50af8bad20df63d6832176dd78e2 (patch)
tree4025abb5f57cf3059ebb8b512f9d2bc85666418a
parentc046dd02322dfed1db0c25ae310ec59630d8b492 (diff)
util/inteltool: Add support for Intel Lewisburg SKU C621A
Add support for dumping GPIOs on Intel Lewisburg SKU C621A. Tested=On OCP Delta Lake DVT, verify it executes successfully. Change-Id: I58797914aa5816aedace094c179e832150ad5e2e Signed-off-by: Jingle Hsu <jingle_hsu@wiwynn.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47163 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--util/inteltool/inteltool.c1
-rw-r--r--util/inteltool/pcr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index 3fb7707a2a..5ecd8cacb8 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -277,6 +277,7 @@ static const struct {
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_QM175, "QM175" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CM238, "CM238" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_C621, "C621" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_C621A, "C621A" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_C622, "C622" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_C624, "C624" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_C625, "C625" },
diff --git a/util/inteltool/pcr.c b/util/inteltool/pcr.c
index bc78c336a5..307dc155c0 100644
--- a/util/inteltool/pcr.c
+++ b/util/inteltool/pcr.c
@@ -92,6 +92,7 @@ void pcr_init(struct pci_dev *const sb)
case PCI_DEVICE_ID_INTEL_QM175:
case PCI_DEVICE_ID_INTEL_CM238:
case PCI_DEVICE_ID_INTEL_C621:
+ case PCI_DEVICE_ID_INTEL_C621A:
case PCI_DEVICE_ID_INTEL_C622:
case PCI_DEVICE_ID_INTEL_C624:
case PCI_DEVICE_ID_INTEL_C625: