mb/google/zork: Rename get_gpe_table to variant_gpe_table

This matches the other methods.

BUG=b:154756391
TEST=Build trembyle

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I6ba1fc5756c17da4dc1727425af17c4582c01a18
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41973
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Raul E Rangel 2020-06-01 13:59:30 -06:00 committed by Felix Held
parent 1c0b9f25a1
commit f261e8183f
4 changed files with 4 additions and 4 deletions

View File

@ -160,7 +160,7 @@ static void mainboard_init(void *chip_info)
* For boards that only have GPIO generated events, table gpe_table[] * For boards that only have GPIO generated events, table gpe_table[]
* must be removed, and get_gpe_table() should return NULL. * must be removed, and get_gpe_table() should return NULL.
*/ */
gpes = get_gpe_table(&num); gpes = variant_gpe_table(&num);
if (gpes != NULL) if (gpes != NULL)
gpe_configure_sci(gpes, num); gpe_configure_sci(gpes, num);
} }

View File

@ -204,7 +204,7 @@ struct soc_amd_gpio *variant_base_gpio_table(size_t *size)
* calls it was modified so that when this function returns NULL then the * calls it was modified so that when this function returns NULL then the
* caller does nothing. * caller does nothing.
*/ */
const __weak struct sci_source *get_gpe_table(size_t *num) const __weak struct sci_source *variant_gpe_table(size_t *num)
{ {
return NULL; return NULL;
} }

View File

@ -194,7 +194,7 @@ struct soc_amd_gpio *variant_base_gpio_table(size_t *size)
* calls it was modified so that when this function returns NULL then the * calls it was modified so that when this function returns NULL then the
* caller does nothing. * caller does nothing.
*/ */
const __weak struct sci_source *get_gpe_table(size_t *num) const __weak struct sci_source *variant_gpe_table(size_t *num)
{ {
return NULL; return NULL;
} }

View File

@ -10,7 +10,7 @@
#include <soc/platform_descriptors.h> #include <soc/platform_descriptors.h>
#include "chip.h" #include "chip.h"
const struct sci_source *get_gpe_table(size_t *num); const struct sci_source *variant_gpe_table(size_t *num);
const struct soc_amd_gpio *variant_early_gpio_table(size_t *size); const struct soc_amd_gpio *variant_early_gpio_table(size_t *size);
const struct soc_amd_gpio *variant_romstage_gpio_table(size_t *size); const struct soc_amd_gpio *variant_romstage_gpio_table(size_t *size);
/* /*