mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-02 11:11:40 +02:00
common/board_r: Drop initr_bedbug wrapper
Drop initr_bedbug wrapper and call bedbug_init directly during the init sequence. Signed-off-by: Ovidiu Panait <ovpanait@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5fb292f20f
commit
1a4c077b75
@ -637,15 +637,6 @@ int initr_mem(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_BEDBUG
|
|
||||||
static int initr_bedbug(void)
|
|
||||||
{
|
|
||||||
bedbug_init();
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static int run_main_loop(void)
|
static int run_main_loop(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_SANDBOX
|
#ifdef CONFIG_SANDBOX
|
||||||
@ -848,7 +839,7 @@ static init_fnc_t init_sequence_r[] = {
|
|||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_CMD_BEDBUG
|
#ifdef CONFIG_CMD_BEDBUG
|
||||||
INIT_FUNC_WATCHDOG_RESET
|
INIT_FUNC_WATCHDOG_RESET
|
||||||
initr_bedbug,
|
bedbug_init,
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_PRAM)
|
#if defined(CONFIG_PRAM)
|
||||||
initr_mem,
|
initr_mem,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user