aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/glados/ec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/glados/ec.h')
-rw-r--r--src/mainboard/google/glados/ec.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mainboard/google/glados/ec.h b/src/mainboard/google/glados/ec.h
index d43b57ca45..bfe4a110b5 100644
--- a/src/mainboard/google/glados/ec.h
+++ b/src/mainboard/google/glados/ec.h
@@ -23,11 +23,10 @@
#include <ec/google/chromeec/ec_commands.h>
#include <soc/gpio.h>
+#include <soc/gpe.h>
-/* GPP_E16 is EC_SCI_L, however the EC_SCI_GPI needs to be a bit
- * number relative to the GPE0 block. GPP_E is routed as the dword 2
- * in the GPE0 block. Therefore, 16 + 2 * 32 = 80. */
-#define EC_SCI_GPI 80
+/* GPP_E16 is EC_SCI_L. GPP_E group is routed to dword 2 in the GPE0 block. */
+#define EC_SCI_GPI GPE0_DW2_16
#define EC_SMI_GPI GPP_E15
#define MAINBOARD_EC_SCI_EVENTS \