summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2020-03-04 16:35:36 -0800
committerPatrick Georgi <pgeorgi@google.com>2020-03-06 07:56:04 +0000
commit1e67a04ff6e2dc2d337e54f61905fe3da6a197e9 (patch)
treedaf499aa10535aa653c5729bea1d531655702824
parent1f088c87572697a4c31257d8d8063f2c10234750 (diff)
downloadcoreboot-1e67a04ff6e2dc2d337e54f61905fe3da6a197e9.tar.xz
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>
-rw-r--r--src/mainboard/google/volteer/variants/baseboard/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/volteer/variants/baseboard/gpio.c b/src/mainboard/google/volteer/variants/baseboard/gpio.c
index 2dc340f17c..3f1f2b0e0f 100644
--- a/src/mainboard/google/volteer/variants/baseboard/gpio.c
+++ b/src/mainboard/google/volteer/variants/baseboard/gpio.c
@@ -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;