summaryrefslogtreecommitdiffstats
path: root/common/exports.c
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-11-28 10:43:15 +0200
committerTom Rini <trini@konsulko.com>2021-01-15 14:36:12 -0500
commit0154858039fd6d184528ed6a294153bd7f4cd3e0 (patch)
treeaf1a7d23c242449192768384d3cf012723109128 /common/exports.c
parenteb2825b79d1e029fa0b9e9ff35fe08c2eca8ca17 (diff)
downloadu-boot-0154858039fd6d184528ed6a294153bd7f4cd3e0.tar.gz
u-boot-0154858039fd6d184528ed6a294153bd7f4cd3e0.tar.xz
u-boot-0154858039fd6d184528ed6a294153bd7f4cd3e0.zip
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 'common/exports.c')
-rw-r--r--common/exports.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/exports.c b/common/exports.c
index 6253b55694..4578f07021 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -25,8 +25,10 @@ unsigned long get_version(void)
# define miiphy_set_current_dev dummy
#endif
-void jumptable_init(void)
+int jumptable_init(void)
{
gd->jt = malloc(sizeof(struct jt_funcs));
#include <_exports.h>
+
+ return 0;
}