summaryrefslogtreecommitdiff
path: root/include/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/api.h')
-rw-r--r--include/api.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/api.h b/include/api.h
index 84d81dc817..83412a7c87 100644
--- a/include/api.h
+++ b/include/api.h
@@ -7,6 +7,14 @@
#ifndef __API_H
#define __API_H
-void api_init(void);
+/**
+ * api_init() - Initialize API for external applications
+ *
+ * Initialize API for external (standalone) applications running on top of
+ * U-Boot. It is called during the generic post-relocation init sequence.
+ *
+ * Return: 0 if OK
+ */
+int api_init(void);
#endif