From f261e8183f4ebffed1c042ce5b95af46b00c1571 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Mon, 1 Jun 2020 13:59:30 -0600 Subject: 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 Change-Id: I6ba1fc5756c17da4dc1727425af17c4582c01a18 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41973 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/google/zork/mainboard.c | 2 +- src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c | 2 +- src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c | 2 +- .../google/zork/variants/baseboard/include/baseboard/variants.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/zork/mainboard.c b/src/mainboard/google/zork/mainboard.c index f295271596..f3ef5c5a98 100644 --- a/src/mainboard/google/zork/mainboard.c +++ b/src/mainboard/google/zork/mainboard.c @@ -160,7 +160,7 @@ static void mainboard_init(void *chip_info) * For boards that only have GPIO generated events, table gpe_table[] * must be removed, and get_gpe_table() should return NULL. */ - gpes = get_gpe_table(&num); + gpes = variant_gpe_table(&num); if (gpes != NULL) gpe_configure_sci(gpes, num); } diff --git a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c index cdce5d3381..23b5458e40 100644 --- a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c +++ b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c @@ -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 * 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; } diff --git a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c index a0d385435a..640b7650f5 100644 --- a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c +++ b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c @@ -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 * 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; } diff --git a/src/mainboard/google/zork/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/zork/variants/baseboard/include/baseboard/variants.h index 14123d57c3..dab7332f61 100644 --- a/src/mainboard/google/zork/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/zork/variants/baseboard/include/baseboard/variants.h @@ -10,7 +10,7 @@ #include #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_romstage_gpio_table(size_t *size); /* -- cgit v1.2.3