提交 7c553ac0 编写于 作者: M Michal Simek

xilinx: common: Protect board_late_init_xilinx()

Do not call board_late_init_xilinx() when BOARD_LATE_INIT is not enabled.
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 83594f3c
......@@ -271,6 +271,7 @@ void *board_fdt_blob_setup(void)
}
#endif
#if defined(CONFIG_BOARD_LATE_INIT)
static int env_set_by_index(const char *name, int index, char *data)
{
char var[32];
......@@ -333,3 +334,4 @@ int board_late_init_xilinx(void)
return 0;
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册