mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
common/board_r: Remove initr_serial wrapper
Remove the initr_serial->serial_initialize indirection and call serial_initialize directly. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
This commit is contained in:
@@ -187,12 +187,6 @@ static int initr_reloc_global_data(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int initr_serial(void)
|
||||
{
|
||||
serial_initialize();
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_MIPS)
|
||||
static int initr_trap(void)
|
||||
{
|
||||
@@ -714,7 +708,7 @@ static init_fnc_t init_sequence_r[] = {
|
||||
#endif
|
||||
initr_dm_devices,
|
||||
stdio_init_tables,
|
||||
initr_serial,
|
||||
serial_initialize,
|
||||
initr_announce,
|
||||
#if CONFIG_IS_ENABLED(WDT)
|
||||
initr_watchdog,
|
||||
|
Reference in New Issue
Block a user