summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kukui
diff options
context:
space:
mode:
authorYou-Cheng Syu <youcheng@google.com>2019-03-29 16:00:09 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-04-11 11:22:11 +0000
commit482eec0e1bb43aee59cdbb4ec39068fecbcc012b (patch)
tree50a81f5532a73c76afdd9c9109720f7cc9685b03 /src/mainboard/google/kukui
parent38dbd6892080c93ccd24fbfa46ed5d9bdb7d9e99 (diff)
google/kukui: Use internal CR50_IRQ pull-up
For Kukui CR50_IRQ pin, we're going to replace external pull-up with internal pull-up. This change won't break older boards, so we can just always do that when setting up GPIOs. BUG=b:124821269 BRANCH=none TEST=Waveform looks correct. Change-Id: Ib1a90dce583a6aa0cec8ac8ba96d1362f50c16a8 Signed-off-by: You-Cheng Syu <youcheng@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32116 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/mainboard/google/kukui')
-rw-r--r--src/mainboard/google/kukui/chromeos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/chromeos.c b/src/mainboard/google/kukui/chromeos.c
index 132f0d3a64..09c47eec28 100644
--- a/src/mainboard/google/kukui/chromeos.c
+++ b/src/mainboard/google/kukui/chromeos.c
@@ -24,6 +24,7 @@ void setup_chromeos_gpios(void)
{
gpio_input_pullup(EC_IN_RW);
gpio_input_pullup(EC_IRQ);
+ gpio_input_pullup(CR50_IRQ);
gpio_output(GPIO_RESET, 0);
}