提交 bf2fb81a 编写于 作者: O Ovidiu Panait 提交者: Tom Rini

common/board_r: Remove initr_serial wrapper

Remove the initr_serial->serial_initialize indirection and call
serial_initialize directly.
Reviewed-by: NSimon Glass <sjg@chromium.org>
Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com>
上级 39a19223
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册