summaryrefslogtreecommitdiff
path: root/include/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/event.h')
-rw-r--r--include/event.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/event.h b/include/event.h
index 1d267f1d105..3ce5f992b04 100644
--- a/include/event.h
+++ b/include/event.h
@@ -154,6 +154,15 @@ enum event_t {
EVT_MAIN_LOOP,
/**
+ * @EVT_POST_PREBOOT:
+ * This event is triggered in main_loop() after the preboot command
+ * has run, so that devices initialised by preboot (e.g. USB, UFS)
+ * are available to event handlers. Its parameter is NULL.
+ * A non-zero return value causes the boot to fail.
+ */
+ EVT_POST_PREBOOT,
+
+ /**
* @EVT_OF_LIVE_BUILT:
* This event is triggered immediately after the live device tree has been
* built. This allows for machine specific fixups to be done to the live tree