mb/google/rex: Adding cros_gpios to rex

Adding cros_gpios for crossystem to access WP GPIO

BUG=b:258048687
TEST= run FAFT firmware_WriteProtect passed.

Signed-off-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
Change-Id: Ieac1df805c6399aefdc13aae136630d496aacd58
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69924
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Ivy Jian 2022-11-23 11:50:26 +08:00 committed by Eric Lai
parent d81103c58e
commit 461f2a9ba0
1 changed files with 1 additions and 0 deletions

View File

@ -493,6 +493,7 @@ const struct pad_config *variant_romstage_gpio_table(size_t *num)
}
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),
};