From 0a2b9d4ab36cffd06c7074abf7f88eb77a63a80e Mon Sep 17 00:00:00 2001 From: Hannah Williams Date: Fri, 13 Apr 2018 21:43:05 -0700 Subject: mb/google/octopus: Add Write Protect GPIO to cros_gpios This will enable crossystem to access WP GPIO BUG=b:78009842 TEST= wpsw_cur in crossystem reads the correct gpio Change-Id: Iedd0057d6bdfd5a666ff282bc784f7b98e8c96e8 Signed-off-by: Hannah Williams Reviewed-on: https://review.coreboot.org/25673 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Paul Menzel --- src/mainboard/google/octopus/variants/baseboard/gpio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/octopus/variants/baseboard/gpio.c b/src/mainboard/google/octopus/variants/baseboard/gpio.c index 01d86e1d60..6c01c49144 100644 --- a/src/mainboard/google/octopus/variants/baseboard/gpio.c +++ b/src/mainboard/google/octopus/variants/baseboard/gpio.c @@ -299,6 +299,7 @@ variant_sleep_gpio_table(size_t *num) } static const struct cros_gpio cros_gpios[] = { + CROS_GPIO_WP_AH(PAD_SCC(GPIO_PCH_WP), GPIO_COMM_SCC_NAME), }; const struct cros_gpio *__attribute__((weak)) variant_cros_gpios(size_t *num) -- cgit v1.2.3