mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-11 17:11:37 +00:00
common: board_r: Drop initr_console_record wrapper
Drop initr_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>
This commit is contained in:
parent
19b18daa29
commit
51c5a2c5e4
1 changed files with 3 additions and 10 deletions
|
@ -282,15 +282,6 @@ static int initr_malloc(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int initr_console_record(void)
|
|
||||||
{
|
|
||||||
#if defined(CONFIG_CONSOLE_RECORD)
|
|
||||||
return console_record_init();
|
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_NONCACHED_MEMORY
|
#ifdef CONFIG_SYS_NONCACHED_MEMORY
|
||||||
static int initr_noncached(void)
|
static int initr_noncached(void)
|
||||||
{
|
{
|
||||||
|
@ -713,7 +704,9 @@ static init_fnc_t init_sequence_r[] = {
|
||||||
initr_malloc,
|
initr_malloc,
|
||||||
log_init,
|
log_init,
|
||||||
initr_bootstage, /* Needs malloc() but has its own timer */
|
initr_bootstage, /* Needs malloc() but has its own timer */
|
||||||
initr_console_record,
|
#if defined(CONFIG_CONSOLE_RECORD)
|
||||||
|
console_record_init,
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_SYS_NONCACHED_MEMORY
|
#ifdef CONFIG_SYS_NONCACHED_MEMORY
|
||||||
initr_noncached,
|
initr_noncached,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue