summaryrefslogtreecommitdiff
path: root/include/hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hooks.h')
-rw-r--r--include/hooks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hooks.h b/include/hooks.h
index 71939d05da..084e9bb36b 100644
--- a/include/hooks.h
+++ b/include/hooks.h
@@ -17,6 +17,8 @@ enum hook_priority {
HOOK_PRIO_LAST = 9999, /* Lowest priority */
/* Specific hook vales for HOOK_INIT */
+ /* DMA inits before ADC, I2C, SPI */
+ HOOK_PRIO_INIT_DMA = HOOK_PRIO_FIRST + 1,
/* LPC inits before modules which need memory-mapped I/O */
HOOK_PRIO_INIT_LPC = HOOK_PRIO_FIRST + 1,
/* Chipset inits before modules which need to know its initial state. */