summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2018-04-16 10:42:55 -0600
committerMartin Roth <martinroth@google.com>2018-04-17 19:10:29 +0000
commitf93e63cfafa479a0055658d85159ea57053ee4f5 (patch)
tree64fb2e00cf8dc55d1c558ba5ac6b4c5806b3cc9e /src/mainboard
parent0bb93707c8398eed588cd8358a9f8f63b58f8177 (diff)
mainboard/google/kahlee: Update EC pins from GPIOs to GPEs
The EC pin definitions are GPEs, not the GPIO numbers. BUG=b:74022675 TEST=Power status updates immediately when power is inserted. Change-Id: Icc8330a606f7a85e72b65094462a684927986829 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://review.coreboot.org/25689 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Daniel Kurtz <djkurtz@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h
index 1e349b7c2e..858e33eaf8 100644
--- a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h
+++ b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h
@@ -39,8 +39,8 @@
#endif /* _ACPI__ */
-#define EC_SCI_GPI 22
-
-#define EC_SMI_GPI 6
+/* These define the GPE, not the GPIO. */
+#define EC_SCI_GPI 3 /* AGPIO 22 -> GPE 3 */
+#define EC_SMI_GPI 10 /* AGPIO 6 -> GPE 10 */
#endif /* __BASEBOARD_GPIO_H__ */