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/soc/intel/apollolake/include/soc/gpio_glk.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/intel/apollolake/include') diff --git a/src/soc/intel/apollolake/include/soc/gpio_glk.h b/src/soc/intel/apollolake/include/soc/gpio_glk.h index 7145a28f1e..63bee3bba9 100644 --- a/src/soc/intel/apollolake/include/soc/gpio_glk.h +++ b/src/soc/intel/apollolake/include/soc/gpio_glk.h @@ -321,6 +321,7 @@ #define PAD_SCC(pad) (pad - SCC_OFFSET) /* Linux names of the GPIO devices. */ +#define CROS_GPIO_DEVICE_NAME "INT3453" #define GPIO_COMM_NW_NAME "INT3453:00" #define GPIO_COMM_N_NAME "INT3453:01" #define GPIO_COMM_AUDIO_NAME "INT3453:02" -- cgit v1.2.3