diff options
author | Ovidiu Panait <ovpanait@gmail.com> | 2020-04-20 10:31:46 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-01 11:34:01 -0400 |
commit | 1a4c077b751475cc3a6e77d2216990feccc068dd (patch) | |
tree | 9f8075fd8ede898a3db584eab8fde618649b39df | |
parent | 5fb292f20f0d28bf916b4e480c9ab4a24713116c (diff) | |
download | u-boot-1a4c077b751475cc3a6e77d2216990feccc068dd.tar.gz |
common/board_r: Drop initr_bedbug wrapperWIP/2020-05-01-master-imports
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>
-rw-r--r-- | common/board_r.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/common/board_r.c b/common/board_r.c index bdb0389e31..d9015cd057 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -637,15 +637,6 @@ int initr_mem(void) } #endif -#ifdef CONFIG_CMD_BEDBUG -static int initr_bedbug(void) -{ - bedbug_init(); - - return 0; -} -#endif - static int run_main_loop(void) { #ifdef CONFIG_SANDBOX @@ -848,7 +839,7 @@ static init_fnc_t init_sequence_r[] = { #endif #ifdef CONFIG_CMD_BEDBUG INIT_FUNC_WATCHDOG_RESET - initr_bedbug, + bedbug_init, #endif #if defined(CONFIG_PRAM) initr_mem, |