aboutsummaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-11-28 10:43:10 +0200
committerTom Rini <trini@konsulko.com>2021-01-15 14:36:11 -0500
commit7addd3c6df61e10e74acf0859f65a82f28b771f5 (patch)
treebbbf3c1ac295b41da808de4dcbacb4be71f97752 /common/board_r.c
parentfb504b2c082c3ecd2ec7e550ae9504175c019b3a (diff)
downloadu-boot-7addd3c6df61e10e74acf0859f65a82f28b771f5.zip
u-boot-7addd3c6df61e10e74acf0859f65a82f28b771f5.tar.gz
u-boot-7addd3c6df61e10e74acf0859f65a82f28b771f5.tar.bz2
common: board_r: Drop initr_post_backlog wrapper
Add a return value to post_output_backlog 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.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/common/board_r.c b/common/board_r.c
index a291543..7a06627 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -206,14 +206,6 @@ static int initr_addr_map(void)
}
#endif
-#ifdef CONFIG_POST
-static int initr_post_backlog(void)
-{
- post_output_backlog();
- return 0;
-}
-#endif
-
#if defined(CONFIG_SYS_INIT_RAM_LOCK) && defined(CONFIG_E500)
static int initr_unlock_ram_in_cache(void)
{
@@ -746,7 +738,7 @@ static init_fnc_t init_sequence_r[] = {
#endif
INIT_FUNC_WATCHDOG_RESET
#ifdef CONFIG_POST
- initr_post_backlog,
+ post_output_backlog,
#endif
INIT_FUNC_WATCHDOG_RESET
#if defined(CONFIG_PCI) && defined(CONFIG_SYS_EARLY_PCI_INIT)