aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/rambi/ec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rambi/ec.h')
-rw-r--r--src/mainboard/google/rambi/ec.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/google/rambi/ec.h b/src/mainboard/google/rambi/ec.h
index c55a504564..bd98b2acbc 100644
--- a/src/mainboard/google/rambi/ec.h
+++ b/src/mainboard/google/rambi/ec.h
@@ -22,9 +22,10 @@
#include <ec/google/chromeec/ec_commands.h>
-/* TODO(adurbin): Need to figure out how to handle 2 sets of GPIO banks. */
-#define EC_SCI_GPI 0 /* GPIO_SC_0 is EC_SCI# */
-#define EC_SMI_GPI 7 /* GPIO_SSUS_7 is EC_SMI# */
+/* GPIO_S0_000 is EC_SCI#, but it is bit 24 in GPE_STS */
+#define EC_SCI_GPI 24
+/* GPIO_S5_07 is EC_SMI#, but it is bit 23 in GPE_STS and ALT_GPIO_SMI. */
+#define EC_SMI_GPI 23
#define MAINBOARD_EC_SCI_EVENTS \
(EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED) |\