From de7092b8a3f863bd974e76f88358a779ba20a6e2 Mon Sep 17 00:00:00 2001 From: Maxim Polyakov Date: Fri, 17 Jul 2020 00:19:41 +0300 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43534 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- util/inteltool/gpio.c | 6 ++++++ util/inteltool/gpio_groups.c | 6 ++++++ util/inteltool/inteltool.h | 6 ++++++ 3 files changed, 18 insertions(+) (limited to 'util/inteltool') diff --git a/util/inteltool/gpio.c b/util/inteltool/gpio.c index b4f3edad15..91f8ebdab9 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 4d341600ed..25489c20fe 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 f0a1eb3bf2..e74d744816 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 -- cgit v1.2.3