summaryrefslogtreecommitdiff
path: root/src/mainboard/google/pit/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/pit/chromeos.c')
-rw-r--r--src/mainboard/google/pit/chromeos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/pit/chromeos.c b/src/mainboard/google/pit/chromeos.c
index c2db165834..2933a352bd 100644
--- a/src/mainboard/google/pit/chromeos.c
+++ b/src/mainboard/google/pit/chromeos.c
@@ -97,5 +97,5 @@ int get_recovery_mode_switch(void)
int get_write_protect_state(void)
{
- return 0; // FIXME what GPIO? // WP hard coded to disabled
+ return !gpio_get_value(GPIO_X30);
}