summaryrefslogtreecommitdiff
path: root/src/mainboard/google/daisy/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/daisy/chromeos.c')
-rw-r--r--src/mainboard/google/daisy/chromeos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/daisy/chromeos.c b/src/mainboard/google/daisy/chromeos.c
index 65139bb1ad..c06f8394eb 100644
--- a/src/mainboard/google/daisy/chromeos.c
+++ b/src/mainboard/google/daisy/chromeos.c
@@ -27,7 +27,7 @@ void fill_lb_gpios(struct lb_gpios *gpios)
{
struct lb_gpio chromeos_gpios[] = {
/* Write Protect: active low (WP_GPIO) */
- {EXYNOS5_GPD1, ACTIVE_LOW, gpio_get_value(GPIO_D16),
+ {EXYNOS5_GPD1, ACTIVE_LOW, !get_write_protect_state(),
"write protect"},
/* Recovery: active low */