summaryrefslogtreecommitdiff
path: root/src/mainboard/google/jecht/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/jecht/chromeos.c')
-rw-r--r--src/mainboard/google/jecht/chromeos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/jecht/chromeos.c b/src/mainboard/google/jecht/chromeos.c
index c0b14f3d87..b3215a0ec6 100644
--- a/src/mainboard/google/jecht/chromeos.c
+++ b/src/mainboard/google/jecht/chromeos.c
@@ -35,9 +35,9 @@ void fill_lb_gpios(struct lb_gpios *gpios)
{
struct lb_gpio chromeos_gpios[] = {
{GPIO_SPI_WP, ACTIVE_HIGH,
- get_gpio(GPIO_SPI_WP), "write protect"},
+ get_write_protect_state(), "write protect"},
{GPIO_REC_MODE, ACTIVE_LOW,
- get_recovery_mode_switch(), "recovery"},
+ !get_recovery_mode_switch(), "recovery"},
{-1, ACTIVE_HIGH, 1, "lid"},
{-1, ACTIVE_HIGH, 0, "power"},
{-1, ACTIVE_HIGH, gfx_get_init_done(), "oprom"},