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>
This commit is contained in:
Hannah Williams 2018-04-13 21:43:05 -07:00 committed by Patrick Georgi
parent dabebc3716
commit 0a2b9d4ab3
1 changed files with 1 additions and 0 deletions

View File

@ -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)