aboutsummaryrefslogtreecommitdiff
path: root/util/inteltool/gpio_groups.c
diff options
context:
space:
mode:
authorKacper Stojek <kacper.stojek@3mdeb.com>2022-10-17 14:30:24 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-11-10 16:24:49 +0000
commit76d2b6699d396758c943bc5dea76871eca95c111 (patch)
tree378983468e75912d6c3105abf63ae769057570b9 /util/inteltool/gpio_groups.c
parentc989d3cd10fa71e19d98320c610efbaf12d4a122 (diff)
util/inteltool: Add support for Elkhart lake
Document: 614109, 601458 Tested on: Protectli vault_ehl (VP2420) Signed-off-by: Kacper Stojek <kacper.stojek@3mdeb.com> Change-Id: I54948741082ca1072642046f64539a4c15ddb578 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68474 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'util/inteltool/gpio_groups.c')
-rw-r--r--util/inteltool/gpio_groups.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/inteltool/gpio_groups.c b/util/inteltool/gpio_groups.c
index b50cc80728..e5cfceeecb 100644
--- a/util/inteltool/gpio_groups.c
+++ b/util/inteltool/gpio_groups.c
@@ -21,6 +21,7 @@
#include "gpio_names/tigerlake.h"
#include "gpio_names/alderlake_h.h"
#include "gpio_names/alderlake_p.h"
+#include "gpio_names/elkhartlake.h"
#define SBBAR_SIZE (16 * MiB)
#define PCR_PORT_SIZE (64 * KiB)
@@ -224,6 +225,10 @@ const struct gpio_community *const *get_gpio_communities(struct pci_dev *const s
*community_count = ARRAY_SIZE(alderlake_pch_p_communities);
*pad_stepping = 16;
return alderlake_pch_p_communities;
+ case PCI_DEVICE_ID_INTEL_EHL:
+ *community_count = ARRAY_SIZE(elkhartlake_pch_communities);
+ *pad_stepping = 16;
+ return elkhartlake_pch_communities;
default:
return NULL;