diff options
Diffstat (limited to 'src/mainboard/google/snow/chromeos.c')
-rw-r--r-- | src/mainboard/google/snow/chromeos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/snow/chromeos.c b/src/mainboard/google/snow/chromeos.c index de882ab8c3..5310a4dbef 100644 --- a/src/mainboard/google/snow/chromeos.c +++ b/src/mainboard/google/snow/chromeos.c @@ -95,7 +95,7 @@ int get_recovery_mode_switch(void) EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEYBOARD_RECOVERY)); } -int get_recovery_mode_from_vbnv(void) +int get_write_protect_state(void) { - return 0; + return !gpio_get_value(GPIO_D16); } |