summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/octopus/variants/bobba/include/variant/ec.h3
-rw-r--r--src/mainboard/google/octopus/variants/bobba/include/variant/gpio.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/variants/bobba/include/variant/ec.h b/src/mainboard/google/octopus/variants/bobba/include/variant/ec.h
index 16f931b6cd..b75794a124 100644
--- a/src/mainboard/google/octopus/variants/bobba/include/variant/ec.h
+++ b/src/mainboard/google/octopus/variants/bobba/include/variant/ec.h
@@ -18,4 +18,7 @@
#include <baseboard/ec.h>
+/* Enable EC sync interrupt, EC_SYNC_IRQ is defined in variant/gpio.h */
+#define EC_ENABLE_SYNC_IRQ
+
#endif
diff --git a/src/mainboard/google/octopus/variants/bobba/include/variant/gpio.h b/src/mainboard/google/octopus/variants/bobba/include/variant/gpio.h
index 1fd1e11716..a59bbf4a9e 100644
--- a/src/mainboard/google/octopus/variants/bobba/include/variant/gpio.h
+++ b/src/mainboard/google/octopus/variants/bobba/include/variant/gpio.h
@@ -18,4 +18,7 @@
#include <baseboard/gpio.h>
+/* EC sync irq is GPP_134_IRQ */
+#define EC_SYNC_IRQ GPIO_134_IRQ
+
#endif /* MAINBOARD_GPIO_H */