aboutsummaryrefslogtreecommitdiff
path: root/post
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 /post
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 'post')
-rw-r--r--post/post.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/post/post.c b/post/post.c
index 0f1fe8d..7d6a647 100644
--- a/post/post.c
+++ b/post/post.c
@@ -128,7 +128,7 @@ static void post_log_mark_succ(unsigned long testid)
}
/* ... and the messages are output once we are relocated */
-void post_output_backlog(void)
+int post_output_backlog(void)
{
int j;
@@ -143,6 +143,8 @@ void post_output_backlog(void)
}
}
}
+
+ return 0;
}
static void post_bootmode_test_on(unsigned int last_test)