diff options
author | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2022-11-14 09:25:18 -0600 |
---|---|---|
committer | Eric Lai <eric_lai@quanta.corp-partner.google.com> | 2022-11-16 03:02:08 +0000 |
commit | 046e295b2b953ef7ccc12eed2f6641440eb6ab9a (patch) | |
tree | 4459e323bb1f9d9d9dc399256839b95f608e7145 /src/mainboard/google/kahlee/variants/baseboard/gpio.c | |
parent | 2c6bba3fe145cc9c9955b1ed55c42d58e06d55af (diff) | |
download | coreboot-046e295b2b953ef7ccc12eed2f6641440eb6ab9a.tar.gz coreboot-046e295b2b953ef7ccc12eed2f6641440eb6ab9a.tar.bz2 coreboot-046e295b2b953ef7ccc12eed2f6641440eb6ab9a.zip |
mb/google/kahlee: rename baseboard GPIO table getter for clarity
Rename variant_romstage_gpio_table() to baseboard_romstage_gpio_table()
since the GPIO table comes from the baseboard (and is not overridden by
any variant).
Drop the __weak qualifier as this function is not overridden.
This mirrors similar changes made for skyrim, guybrush, and zork.
Change-Id: I772bd2d74fd6778ffaa1e0809cc53f8d43b153f3
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69546
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/kahlee/variants/baseboard/gpio.c')
-rw-r--r-- | src/mainboard/google/kahlee/variants/baseboard/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/kahlee/variants/baseboard/gpio.c b/src/mainboard/google/kahlee/variants/baseboard/gpio.c index 3acf70f4584f..d421e7d212b7 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/gpio.c +++ b/src/mainboard/google/kahlee/variants/baseboard/gpio.c @@ -254,8 +254,8 @@ struct soc_amd_gpio *variant_wlan_rst_early_gpio_table(size_t *size) return gpio_wlan_rst_early_reset; } -const __weak -struct soc_amd_gpio *variant_romstage_gpio_table(size_t *size) +const +struct soc_amd_gpio *baseboard_romstage_gpio_table(size_t *size) { *size = ARRAY_SIZE(gpio_set_stage_rom); return gpio_set_stage_rom; |