diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-11-28 10:43:04 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-15 14:36:11 -0500 |
commit | 8e8d45ee0209f5362b40218bcc5ae172b214042e (patch) | |
tree | d90300b19feb94520dc866a02f6a79d5c8492ab5 | |
parent | 4e81920ba8f426d381583c9b2e576230a0757db5 (diff) | |
download | u-boot-8e8d45ee0209f5362b40218bcc5ae172b214042e.zip u-boot-8e8d45ee0209f5362b40218bcc5ae172b214042e.tar.gz u-boot-8e8d45ee0209f5362b40218bcc5ae172b214042e.tar.bz2 |
common: board_f: Drop initf_console_record wrapper
Drop initf_console_record wrapper and call console_record_init directly.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | common/board_f.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/common/board_f.c b/common/board_f.c index e5e69ff..552552e 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -765,14 +765,6 @@ static int initf_bootstage(void) return 0; } -static int initf_console_record(void) -{ - if (IS_ENABLED(CONFIG_CONSOLE_RECORD_INIT_F)) - return console_record_init(); - - return 0; -} - static int initf_dm(void) { #if defined(CONFIG_DM) && CONFIG_VAL(SYS_MALLOC_F_LEN) @@ -829,7 +821,9 @@ static const init_fnc_t init_sequence_f[] = { bloblist_init, #endif setup_spl_handoff, - initf_console_record, +#if defined(CONFIG_CONSOLE_RECORD_INIT_F) + console_record_init, +#endif #if defined(CONFIG_HAVE_FSP) arch_fsp_init, #endif |