mb/google/dedede: 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: I11814016d654bc2c2e6d24b3d18fb30d5b843fe9 Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67805 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
6b8728f3ad
commit
acc91c335b
3 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ static void mainboard_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,
|
||||
|
|
|
@ -441,7 +441,7 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_GPI(GPP_S0, NONE, DEEP),
|
||||
};
|
||||
|
||||
const struct pad_config *__weak variant_base_gpio_table(size_t *num)
|
||||
const struct pad_config *baseboard_gpio_table(size_t *num)
|
||||
{
|
||||
*num = ARRAY_SIZE(gpio_table);
|
||||
return gpio_table;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
/* The next set of functions return the gpio table and fill in the number of
|
||||
* entries for each table. */
|
||||
|
||||
const struct pad_config *variant_base_gpio_table(size_t *num);
|
||||
const struct pad_config *baseboard_gpio_table(size_t *num);
|
||||
const struct pad_config *variant_early_gpio_table(size_t *num);
|
||||
const struct pad_config *variant_sleep_gpio_table(size_t *num);
|
||||
const struct pad_config *variant_override_gpio_table(size_t *num);
|
||||
|
|
Loading…
Reference in a new issue