From f41cb17fe29923fca898b39d343ccc71c193bea7 Mon Sep 17 00:00:00 2001 From: David Wu Date: Wed, 31 Oct 2018 14:51:37 +0800 Subject: mb/google/fizz: Remove variant_cros_gpios from variant This change removes the function defintions from variant so that the weak definition in baseboard can be used. Refer to CL:813944. BUG=none BRANCH=master TEST=Build and boot on DUT Change-Id: I561414fcc94e3c812bb88730df9b94e332c61781 Signed-off-by: David Wu Reviewed-on: https://review.coreboot.org/29368 Tested-by: build bot (Jenkins) Reviewed-by: David Wu Reviewed-by: Furquan Shaikh --- src/mainboard/google/fizz/variants/karma/gpio.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src') diff --git a/src/mainboard/google/fizz/variants/karma/gpio.c b/src/mainboard/google/fizz/variants/karma/gpio.c index e6bb83ba81..29c6f88e62 100644 --- a/src/mainboard/google/fizz/variants/karma/gpio.c +++ b/src/mainboard/google/fizz/variants/karma/gpio.c @@ -273,14 +273,3 @@ const struct pad_config *variant_early_gpio_table(size_t *num) *num = ARRAY_SIZE(early_gpio_table); return early_gpio_table; } - -static const struct cros_gpio cros_gpios[] = { - CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, CROS_GPIO_DEVICE_NAME), - CROS_GPIO_WP_AH(GPIO_PCH_WP, CROS_GPIO_DEVICE_NAME), -}; - -const struct cros_gpio *variant_cros_gpios(size_t *num) -{ - *num = ARRAY_SIZE(cros_gpios); - return cros_gpios; -} -- cgit v1.2.3