summaryrefslogtreecommitdiff
path: root/src/mainboard/google/peach_pit
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/peach_pit')
-rw-r--r--src/mainboard/google/peach_pit/chromeos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/peach_pit/chromeos.c b/src/mainboard/google/peach_pit/chromeos.c
index f507bd8d6b..00dd1f3987 100644
--- a/src/mainboard/google/peach_pit/chromeos.c
+++ b/src/mainboard/google/peach_pit/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_GPX3, ACTIVE_LOW, gpio_get_value(GPIO_X30),
+ {EXYNOS5_GPX3, ACTIVE_LOW, !get_write_protect_state(),
"write protect"},
/* Recovery: active low */