summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/volteer/mainboard.c
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2022-09-23 13:34:22 -0500
committerFelix Held <felix-coreboot@felixheld.de>2022-09-27 15:16:15 +0000
commit6b8728f3ad6a00e43ed1aeb9c741e972cbdd6549 (patch)
tree29b1edef2e0b2efadea1a74f6740bae6d6294df3 /src/mainboard/google/volteer/mainboard.c
parent2f4b31f5a00efd9b00933455df408d70ace6ff5f (diff)
downloadcoreboot-6b8728f3ad6a00e43ed1aeb9c741e972cbdd6549.tar.gz
coreboot-6b8728f3ad6a00e43ed1aeb9c741e972cbdd6549.tar.bz2
coreboot-6b8728f3ad6a00e43ed1aeb9c741e972cbdd6549.zip
mb/google/volteer: rename baseboard GPIO table getter for clarity
Rename variant_base_gpio_table() to baseboard_gpio_table(), since the GPIO table comes from the baseboard, and is overridden by a separate table from the variant. Drop the __weak qualifier as this function is not overridden. Change-Id: Id1e1a67608454466dc65bf4c4985cf4eba84c97d Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67807 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/volteer/mainboard.c')
-rw-r--r--src/mainboard/google/volteer/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/volteer/mainboard.c b/src/mainboard/google/volteer/mainboard.c
index 91fe319b92e9..38b7b5853f9a 100644
--- a/src/mainboard/google/volteer/mainboard.c
+++ b/src/mainboard/google/volteer/mainboard.c
@@ -120,7 +120,7 @@ static void mainboard_chip_init(void *chip_info)
const struct pad_config *override_pads;
size_t base_num, override_num;
- base_pads = variant_base_gpio_table(&base_num);
+ base_pads = baseboard_gpio_table(&base_num);
override_pads = variant_override_gpio_table(&override_num);
gpio_configure_pads_with_override(base_pads, base_num, override_pads, override_num);