aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/gale/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/gale/chromeos.c')
-rw-r--r--src/mainboard/google/gale/chromeos.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/gale/chromeos.c b/src/mainboard/google/gale/chromeos.c
index 09fdc2fa60..66b1a62ea4 100644
--- a/src/mainboard/google/gale/chromeos.c
+++ b/src/mainboard/google/gale/chromeos.c
@@ -24,6 +24,8 @@
#include <timer.h>
#include <vendorcode/google/chromeos/chromeos.h>
+#define PP_SW 41
+#define PP_POL ACTIVE_LOW
#define REC_POL ACTIVE_LOW
#define WP_POL ACTIVE_LOW
@@ -68,6 +70,7 @@ static int read_gpio(gpio_t gpio_num)
void fill_lb_gpios(struct lb_gpios *gpios)
{
struct lb_gpio chromeos_gpios[] = {
+ {PP_SW, PP_POL, read_gpio(PP_SW), "presence"},
{get_rec_sw_gpio_pin(), REC_POL,
read_gpio(get_rec_sw_gpio_pin()), "recovery"},
{get_wp_status_gpio_pin(), WP_POL,