summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorHannah Williams <hannah.williams@intel.com>2018-04-13 21:43:05 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-04-16 08:47:14 +0000
commit0a2b9d4ab36cffd06c7074abf7f88eb77a63a80e (patch)
treea8c8e67e3a7e43a4d5689e11350f8151014b3974 /src/mainboard/google
parentdabebc3716bac1dbe9445dfb2bbbbb833ee21de1 (diff)
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 <hannah.williams@intel.com> Reviewed-on: https://review.coreboot.org/25673 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/octopus/variants/baseboard/gpio.c1
1 files changed, 1 insertions, 0 deletions
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)