summaryrefslogtreecommitdiff
path: root/include/exports.h
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-11-28 11:43:15 +0300
committerTom Rini <trini@konsulko.com>2021-01-15 22:36:12 +0300
commit0154858039fd6d184528ed6a294153bd7f4cd3e0 (patch)
treeaf1a7d23c242449192768384d3cf012723109128 /include/exports.h
parenteb2825b79d1e029fa0b9e9ff35fe08c2eca8ca17 (diff)
downloadu-boot-0154858039fd6d184528ed6a294153bd7f4cd3e0.tar.xz
common: board_r: Drop initr_jumptable wrapper
Add a return value to jumptable_init and use it directly in the post-relocation init sequence, rather than using a wrapper stub. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/exports.h')
-rw-r--r--include/exports.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/exports.h b/include/exports.h
index b300554091..faf0f59244 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -15,8 +15,14 @@
struct cmd_tbl;
struct spi_slave;
-/* Set up the jump table for use by the API */
-void jumptable_init(void);
+/**
+ * jumptable_init() - Set up the jump table for use by the API
+ *
+ * It is called during the generic post-relocation init sequence.
+ *
+ * Return: 0 if OK
+ */
+int jumptable_init(void);
/* These are declarations of exported functions available in C code */
unsigned long get_version(void);