From d1e6a842c7577224f26a1fa19c47cee9ba4cd3ed Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 20 Jun 2019 15:58:20 -0600 Subject: [PATCH] Fix gpio miscfg register values --- src/soc/intel/cannonlake/gpio.c | 18 +++++++++--------- src/soc/intel/cannonlake/gpio_cnp_h.c | 24 ++++++++++++------------ 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/soc/intel/cannonlake/gpio.c b/src/soc/intel/cannonlake/gpio.c index 4036fdc073..dd0ef17853 100644 --- a/src/soc/intel/cannonlake/gpio.c +++ b/src/soc/intel/cannonlake/gpio.c @@ -189,15 +189,15 @@ const struct pad_community *soc_gpio_get_community(size_t *num_communities) const struct pmc_to_gpio_route *soc_pmc_gpio_routes(size_t *num) { static const struct pmc_to_gpio_route routes[] = { - { PMC_GPP_A, GPP_A }, - { PMC_GPP_B, GPP_B }, - { PMC_GPP_C, GPP_C }, - { PMC_GPP_D, GPP_D }, - { PMC_GPP_E, GPP_E }, - { PMC_GPP_F, GPP_F }, - { PMC_GPP_G, GPP_G }, - { PMC_GPP_H, GPP_H }, - { PMC_GPD, GPD }, + { PMC_GPP_A, PMC_GPP_A }, + { PMC_GPP_B, PMC_GPP_B }, + { PMC_GPP_C, PMC_GPP_C }, + { PMC_GPP_D, PMC_GPP_D }, + { PMC_GPP_E, PMC_GPP_E }, + { PMC_GPP_F, PMC_GPP_F }, + { PMC_GPP_G, PMC_GPP_G }, + { PMC_GPP_H, PMC_GPP_H }, + { PMC_GPD, PMC_GPD }, }; *num = ARRAY_SIZE(routes); return routes; diff --git a/src/soc/intel/cannonlake/gpio_cnp_h.c b/src/soc/intel/cannonlake/gpio_cnp_h.c index dd9f433645..5a9dc1092a 100644 --- a/src/soc/intel/cannonlake/gpio_cnp_h.c +++ b/src/soc/intel/cannonlake/gpio_cnp_h.c @@ -191,18 +191,18 @@ const struct pad_community *soc_gpio_get_community(size_t *num_communities) const struct pmc_to_gpio_route *soc_pmc_gpio_routes(size_t *num) { static const struct pmc_to_gpio_route routes[] = { - { PMC_GPP_A, GPP_A }, - { PMC_GPP_B, GPP_B }, - { PMC_GPP_C, GPP_C }, - { PMC_GPP_D, GPP_D }, - { PMC_GPP_E, GPP_E }, - { PMC_GPP_F, GPP_F }, - { PMC_GPP_G, GPP_G }, - { PMC_GPP_H, GPP_H }, - { PMC_GPP_I, GPP_I }, - { PMC_GPP_J, GPP_J }, - { PMC_GPP_K, GPP_K }, - { PMC_GPD, GPD }, + { PMC_GPP_A, PMC_GPP_A }, + { PMC_GPP_B, PMC_GPP_B }, + { PMC_GPP_C, PMC_GPP_C }, + { PMC_GPP_D, PMC_GPP_D }, + { PMC_GPP_E, PMC_GPP_E }, + { PMC_GPP_F, PMC_GPP_F }, + { PMC_GPP_G, PMC_GPP_G }, + { PMC_GPP_H, PMC_GPP_H }, + { PMC_GPP_I, PMC_GPP_I }, + { PMC_GPP_J, PMC_GPP_J }, + { PMC_GPP_K, PMC_GPP_K }, + { PMC_GPD, PMC_GPD }, }; *num = ARRAY_SIZE(routes); return routes;