summaryrefslogtreecommitdiff
path: root/src/mainboard/google/eve/gpio.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2016-12-24 16:05:52 -0800
committerMartin Roth <martinroth@google.com>2016-12-26 17:40:07 +0100
commit2a5897526463dfe00feb06d99f850c2874d1d257 (patch)
treea612fced55c44d4e0ffd972fc3c2e9fd203a7d7a /src/mainboard/google/eve/gpio.h
parenta8025db49f6a8bf8c7fc1f1302e73e6a1ec30688 (diff)
google/eve: Enable internal pull-up on PWRBTN#
Enable an internal pull-up on the power button input as a quick press is resulting in power button override being asserted. BUG=chrome-os-partner:61312 TEST=tested on eve P0b to ensure quick power button press does not result in a shutdown due to power button override. Change-Id: I3028cf7faef309cf4d60c3585b48adab6e1549d4 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/17962 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/google/eve/gpio.h')
-rw-r--r--src/mainboard/google/eve/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/eve/gpio.h b/src/mainboard/google/eve/gpio.h
index 10642e98cf..4505fb0096 100644
--- a/src/mainboard/google/eve/gpio.h
+++ b/src/mainboard/google/eve/gpio.h
@@ -208,7 +208,7 @@ static const struct pad_config gpio_table[] = {
/* BATLOW# */ PAD_CFG_NF(GPD0, NONE, DEEP, NF1),
/* ACPRESENT */ PAD_CFG_NF(GPD1, NONE, DEEP, NF1),
/* LAN_WAKE# */ PAD_CFG_NF(GPD2, NONE, DEEP, NF1), /* EC_PCH_WAKE_L */
-/* PWRBTN# */ PAD_CFG_NF(GPD3, NONE, DEEP, NF1),
+/* PWRBTN# */ PAD_CFG_NF(GPD3, 20K_PU, DEEP, NF1),
/* SLP_S3# */ PAD_CFG_NF(GPD4, NONE, DEEP, NF1),
/* SLP_S4# */ PAD_CFG_NF(GPD5, NONE, DEEP, NF1),
/* SLP_A# */ PAD_CFG_NC(GPD6), /* TP26 */