summaryrefslogtreecommitdiff
path: root/include/mkbp_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mkbp_event.h')
-rw-r--r--include/mkbp_event.h28
1 files changed, 3 insertions, 25 deletions
diff --git a/include/mkbp_event.h b/include/mkbp_event.h
index 61eb2c9052..c451c53673 100644
--- a/include/mkbp_event.h
+++ b/include/mkbp_event.h
@@ -29,33 +29,11 @@ extern uint32_t mkbp_last_event_time;
int mkbp_send_event(uint8_t event_type);
/*
- * Set MKBP active event status on the AP.
+ * Communicate an MKBP event to the AP via custom method.
*
- * This communicates to the AP whether an MKBP event is currently available
- * for processing. It is used by mkbp_send_event().
- *
- * The default implementation in mkbp_event.c has weak linkage and can be
- * overridden by individual boards depending on their hardware configuration.
- *
- * @param active 1 if there is an event, 0 otherwise
- */
-void mkbp_set_host_active(int active);
-
-/*
- * Communicate an MKBP event to the host via a dedicated GPIO pin.
- *
- * This can be used if the board schematic has a pin reserved for this purpose.
- */
-void mkbp_set_host_active_via_gpio(int active);
-
-/*
- * Communicate an MKBP event to the AP via EC_HOST_EVENT.
- *
- * This can be used without a dedicated interrupt pin configured. It is the
- * default behavior of mkbp_set_host_active when CONFIG_MKBP_USE_HOST_EVENT
- * is defined in board.h.
+ * This can be used if a board has a custom method.
*/
-void mkbp_set_host_active_via_event(int active);
+void mkbp_set_host_active_via_custom(int active);
/*
* The struct to store the event source definition. The get_data routine is