Fix gpio miscfg register values

This commit is contained in:
Jeremy Soller 2019-06-20 15:58:20 -06:00
parent 1d39c09349
commit d1e6a842c7
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 21 additions and 21 deletions

View File

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

View File

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