mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user