diff options
Diffstat (limited to 'util/inteltool/gpio_groups.c')
-rw-r--r-- | util/inteltool/gpio_groups.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/inteltool/gpio_groups.c b/util/inteltool/gpio_groups.c index e5cfceeecb..fd5be730be 100644 --- a/util/inteltool/gpio_groups.c +++ b/util/inteltool/gpio_groups.c @@ -17,6 +17,7 @@ #include "gpio_names/geminilake.h" #include "gpio_names/icelake.h" #include "gpio_names/lewisburg.h" +#include "gpio_names/emmitsburg.h" #include "gpio_names/sunrise.h" #include "gpio_names/tigerlake.h" #include "gpio_names/alderlake_h.h" @@ -82,6 +83,8 @@ static void print_gpio_community(const struct gpio_community *const community, } for (group = 0; group < community->group_count; ++group) { + if (community->groups[group]->pad_offset) + pad_cfg = community->groups[group]->pad_offset; print_gpio_group(community->pcr_port_id, pad_cfg, community->groups[group], pad_stepping); @@ -150,6 +153,10 @@ const struct gpio_community *const *get_gpio_communities(struct pci_dev *const s case PCI_DEVICE_ID_INTEL_C629A_SUPER: *community_count = ARRAY_SIZE(lewisburg_communities); return lewisburg_communities; + case PCI_DEVICE_ID_INTEL_EBG: + *pad_stepping = 16; + *community_count = ARRAY_SIZE(emmitsburg_communities); + return emmitsburg_communities; case PCI_DEVICE_ID_INTEL_DNV_LPC: *community_count = ARRAY_SIZE(denverton_communities); return denverton_communities; |