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>
This commit is contained in:
Kacper Stojek
2022-10-17 14:30:24 +02:00
committed by Felix Held
parent c989d3cd10
commit 76d2b6699d
6 changed files with 595 additions and 0 deletions

View File

@@ -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;