summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rush_ryu/romstage.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-08-29 16:56:00 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-03-27 08:04:37 +0100
commit719b7880b693d3ca7fee7f1c4d59a14f05683020 (patch)
treedc9d4f9a3ea48ae487284d77367b7ff51052d4f2 /src/mainboard/google/rush_ryu/romstage.c
parent45a1c949cb5db68fb053efe1e22a2361c34a34c2 (diff)
downloadcoreboot-719b7880b693d3ca7fee7f1c4d59a14f05683020.tar.xz
ryu: fix power button polarity
The power button signal is driven from the silego part. It's active high when the button is pressed. BUG=None BRANCH=None TEST=Booted with power button pressed. vboot saw the press and requested a shut down. Change-Id: Ifff1bd8d4340849e0c218812fd401b61c90c5743 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: b6bd7c0de38e1078b85f1671493c6d2948d43149 Original-Change-Id: If25ebce28c1ab5a363f3b4b5ab9fc24baebad56a Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/214847 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/9028 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rush_ryu/romstage.c')
-rw-r--r--src/mainboard/google/rush_ryu/romstage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/rush_ryu/romstage.c b/src/mainboard/google/rush_ryu/romstage.c
index 4d22335fda..578b1e6da6 100644
--- a/src/mainboard/google/rush_ryu/romstage.c
+++ b/src/mainboard/google/rush_ryu/romstage.c
@@ -39,6 +39,8 @@ static const struct pad_config padcfgs[] = {
PAD_CFG_GPIO_OUT0(KB_ROW12, PINMUX_PULL_DOWN),
/* MDM_DET - expected to be pulled down by LTE modem */
PAD_CFG_GPIO_INPUT(GPIO_PV1, PINMUX_PULL_UP),
+ /* Power Button - active high */
+ PAD_CFG_GPIO_INPUT(KB_COL0, PINMUX_PULL_UP),
};
static const struct pad_config tpm_pads[] = {