summaryrefslogtreecommitdiff
path: root/include/jtag.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jtag.h')
-rw-r--r--include/jtag.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/jtag.h b/include/jtag.h
index 690158b4ec..9c7835dfd0 100644
--- a/include/jtag.h
+++ b/include/jtag.h
@@ -15,4 +15,16 @@
*/
void jtag_pre_init(void);
+#ifdef CONFIG_LOW_POWER_IDLE
+/**
+ * Interrupt handler for JTAG clock.
+ *
+ * @param signal Signal which triggered the interrupt.
+ */
+void jtag_interrupt(enum gpio_signal signal);
+#else
+#define jtag_interrupt NULL
+#endif
+
+
#endif /* __CROS_EC_JTAG_H */