From c9be93fefeb20a1839f74936a08c3a04d1f7fd32 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 17 Dec 2014 09:56:32 -0700 Subject: fsp_baytrail: Remove GPIO_NC1 #define The GPIO_NC1 #define was added to handle GPIOs that are not on func0. This is already handled elsewhere in the GPIO code, so is not needed. - Remove the single GPIO_NC1 from platforms using fsp_baytrail - Revert the GPIO_INPUT_PU_10k #define to remove the _func argument. Update everywhere this macro is called. - Remove GPIO_NC1 Change-Id: I32f337af7bc88eab821d9a8c375145b45718275f Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/7849 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/intel/minnowmax/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/intel/minnowmax') diff --git a/src/mainboard/intel/minnowmax/gpio.c b/src/mainboard/intel/minnowmax/gpio.c index defaf17bbf..66e85da3dc 100644 --- a/src/mainboard/intel/minnowmax/gpio.c +++ b/src/mainboard/intel/minnowmax/gpio.c @@ -191,7 +191,7 @@ static const struct soc_gpio_map gpssus_gpio_map[] = { GPIO_FUNC1, /* GPIO_S5[14] - GPIO_S514_J20 */ GPIO_FUNC0, /* GPIO_S5[15] - PMC_PCIE_WAKE_R */ GPIO_FUNC0, /* GPIO_S5[16] - PMC_PWRBTN */ - GPIO_NC1, /* GPIO_S5[17] - No Connect */ + GPIO_NC, /* GPIO_S5[17] - No Connect */ GPIO_FUNC1, /* GPIO_S5[18] - LPCPD_L (TP7) */ GPIO_FUNC0, /* GPIO_S5[19] - SOC_USB_HOST_OC0 */ GPIO_FUNC0, /* GPIO_S5[20] - SOC_USB_HOST_OC1 */ -- cgit v1.2.3