summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h
index be213bf2fe..c50c44797b 100644
--- a/include/system.h
+++ b/include/system.h
@@ -348,6 +348,15 @@ const char *system_get_chip_revision(void);
int system_get_chip_unique_id(uint8_t **id);
/**
+ * Optional board-level function to pulse EC_ENTERING_RW.
+ *
+ * This should ONLY be overridden in very rare circumstances! AKA there better
+ * be a good reason why you're overriding this!
+ * The function ***MUST*** assert EC_ENTERING_RW for 1ms and then deassert it.
+ */
+__override_proto void board_pulse_entering_rw(void);
+
+/**
* Optional board-level callback functions to read a unique serial number per
* chip. Default implementation reads from flash/otp (flash/otp_read_serial).
*/