mb/google/volteer: make variant_early_gpio_table weak

Declare variant_early_gpio_table() weak to allow override by variants.

BUG=b:148385924, b:150810535
TEST=none

Change-Id: Ife5e3b75256f71ecd763c4000fd2c7d7c927bb64
Signed-off-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39300
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Nick Vaccaro 2020-03-04 16:35:36 -08:00 committed by Patrick Georgi
parent 1f088c8757
commit 1e67a04ff6
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ const struct pad_config *__weak variant_override_gpio_table(size_t *num)
return NULL;
}
const struct pad_config *variant_early_gpio_table(size_t *num)
const struct pad_config *__weak variant_early_gpio_table(size_t *num)
{
*num = ARRAY_SIZE(early_gpio_table);
return early_gpio_table;