Eric Lai has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69924 )
Change subject: mb/google/rex: Adding cros_gpios to rex ......................................................................
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 --- M src/mainboard/google/rex/variants/rex0/gpio.c 1 file changed, 20 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Subrata Banik: Looks good to me, approved Eric Lai: Looks good to me, approved
diff --git a/src/mainboard/google/rex/variants/rex0/gpio.c b/src/mainboard/google/rex/variants/rex0/gpio.c index d8450ee..ecda8bf 100644 --- a/src/mainboard/google/rex/variants/rex0/gpio.c +++ b/src/mainboard/google/rex/variants/rex0/gpio.c @@ -493,6 +493,7 @@ }
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), };