diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-11-28 10:43:15 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-15 14:36:12 -0500 |
commit | 0154858039fd6d184528ed6a294153bd7f4cd3e0 (patch) | |
tree | af1a7d23c242449192768384d3cf012723109128 /common/board_r.c | |
parent | eb2825b79d1e029fa0b9e9ff35fe08c2eca8ca17 (diff) | |
download | u-boot-0154858039fd6d184528ed6a294153bd7f4cd3e0.tar.gz u-boot-0154858039fd6d184528ed6a294153bd7f4cd3e0.tar.bz2 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/board_r.c')
-rw-r--r-- | common/board_r.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/board_r.c b/common/board_r.c index a5cbbcc343..32ad40d372 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -490,12 +490,6 @@ static int initr_malloc_bootparams(void) } #endif -static int initr_jumptable(void) -{ - jumptable_init(); - return 0; -} - #if defined(CONFIG_API) static int initr_api(void) { @@ -757,7 +751,7 @@ static init_fnc_t init_sequence_r[] = { pci_init, #endif stdio_add_devices, - initr_jumptable, + jumptable_init, #ifdef CONFIG_API initr_api, #endif |