diff options
author | Raul E Rangel <rrangel@chromium.org> | 2020-06-01 13:59:30 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-07-10 22:51:40 +0000 |
commit | f261e8183f4ebffed1c042ce5b95af46b00c1571 (patch) | |
tree | 222b94e142e9e40f6cb1c5f2ff2afc3618004f8c /src/mainboard/google | |
parent | 1c0b9f25a1a8983e93ff0e0f4e91c277bb188033 (diff) |
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>
Diffstat (limited to 'src/mainboard/google')
4 files changed, 4 insertions, 4 deletions
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 <soc/platform_descriptors.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_romstage_gpio_table(size_t *size); /* |