diff options
author | Ivy Jian <ivy.jian@quanta.corp-partner.google.com> | 2022-11-23 11:50:26 +0800 |
---|---|---|
committer | Eric Lai <eric_lai@quanta.corp-partner.google.com> | 2022-11-24 05:28:01 +0000 |
commit | 461f2a9ba08ce0f3c7ef97f466deaa6ac7c14e25 (patch) | |
tree | 529b8237bbfa2fc350fc3da738537ba8eb14cbfd /src/mainboard/google/rex/variants/rex0 | |
parent | d81103c58e30447c9eaf7eaf9520d76460787059 (diff) |
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>
Diffstat (limited to 'src/mainboard/google/rex/variants/rex0')
-rw-r--r-- | src/mainboard/google/rex/variants/rex0/gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/rex0/gpio.c b/src/mainboard/google/rex/variants/rex0/gpio.c index d8450ee4df..ecda8bf1e7 100644 --- a/src/mainboard/google/rex/variants/rex0/gpio.c +++ b/src/mainboard/google/rex/variants/rex0/gpio.c @@ -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), }; |