From b5dea9fa999ac9f01b15cf2bc5a9ee05695d5ee1 Mon Sep 17 00:00:00 2001 From: Ian Feng Date: Wed, 19 Mar 2025 15:39:24 +0800 Subject: [PATCH] mb/google/fatcat/var/francka: Add Write Protect GPIO to cros_gpios This enables the utility crossystem to access WP GPIO. BUG=b:399511940 TEST= wpsw_cur in crossystem reads the correct gpio Change-Id: Ided919920dff74c49ce2f718f845ae5a1117a89b Signed-off-by: Ian Feng Reviewed-on: https://review.coreboot.org/c/coreboot/+/86923 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Pranava Y N --- src/mainboard/google/fatcat/variants/francka/gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainboard/google/fatcat/variants/francka/gpio.c b/src/mainboard/google/fatcat/variants/francka/gpio.c index f2868fc638..73898dcff7 100644 --- a/src/mainboard/google/fatcat/variants/francka/gpio.c +++ b/src/mainboard/google/fatcat/variants/francka/gpio.c @@ -454,6 +454,7 @@ static const struct cros_gpio cros_gpios[] = { CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, CROS_GPIO_DEVICE1_NAME), CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, CROS_GPIO_DEVICE2_NAME), CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, CROS_GPIO_DEVICE3_NAME), + CROS_GPIO_WP_AH(GPIO_PCH_WP, CROS_GPIO_DEVICE1_NAME), }; DECLARE_CROS_GPIOS(cros_gpios);