From ecef322bf4a1d2033286c10970f09663a1214ebb Mon Sep 17 00:00:00 2001 From: Hannah Williams Date: Fri, 27 Apr 2018 00:13:25 -0700 Subject: mb/google/octopus: Fix crossystem wpsw_cur error With only one entry for Write Protect gpio in the OIPG package, the sysfs entry /sys/devices/platform/chromeos_acpi/GPIO.x is created as "GPIO" instead of "GPIO.x". This was causing crossytem to return error for wpsw_cur. BUG=b:78009842 Change-Id: Ica60f342420d95d09a45580f2f940443c03601de Signed-off-by: Hannah Williams Reviewed-on: https://review.coreboot.org/25892 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- src/mainboard/google/octopus/variants/baseboard/gpio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/google/octopus/variants/baseboard') diff --git a/src/mainboard/google/octopus/variants/baseboard/gpio.c b/src/mainboard/google/octopus/variants/baseboard/gpio.c index 732653ac36..2640696174 100644 --- a/src/mainboard/google/octopus/variants/baseboard/gpio.c +++ b/src/mainboard/google/octopus/variants/baseboard/gpio.c @@ -308,6 +308,7 @@ variant_sleep_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(PAD_SCC(GPIO_PCH_WP), GPIO_COMM_SCC_NAME), }; -- cgit v1.2.3