summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/glkrvp/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/glkrvp/chromeos.c')
-rw-r--r--src/mainboard/intel/glkrvp/chromeos.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/intel/glkrvp/chromeos.c b/src/mainboard/intel/glkrvp/chromeos.c
index b1429b6286..b7f56ec53d 100644
--- a/src/mainboard/intel/glkrvp/chromeos.c
+++ b/src/mainboard/intel/glkrvp/chromeos.c
@@ -30,8 +30,7 @@ void fill_lb_gpios(struct lb_gpios *gpios)
{-1, ACTIVE_HIGH, get_lid_switch(), "lid"},
{-1, ACTIVE_HIGH, 0, "power"},
{-1, ACTIVE_HIGH, gfx_get_init_done(), "oprom"},
- {GPIO_EC_IN_RW, ACTIVE_HIGH,
- gpio_get(GPIO_EC_IN_RW), "EC in RW"},
+ {-1, ACTIVE_HIGH, 0, "EC in RW"},
};
lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios));
}
@@ -71,8 +70,7 @@ int clear_recovery_mode_switch(void)
int get_write_protect_state(void)
{
- /* Read PCH_WP GPIO. */
- return gpio_get(GPIO_PCH_WP);
+ return 0;
}
void mainboard_chromeos_acpi_generate(void)