提交 921bb864 编写于 作者: P Parthiban Nallathambi 提交者: Stefano Babic

imx: initialize fec only when enabled

board early initialize fec ethernet controller pinmux
only when FEC is enabled
Signed-off-by: NParthiban Nallathambi <pn@denx.de>
Reviewed-by: NPeng Fan <peng.fan@nxp.com>
上级 84d5e72f
......@@ -178,7 +178,9 @@ int board_phy_config(struct phy_device *phydev)
int board_early_init_f(void)
{
setup_iomux_uart();
#ifdef CONFIG_FEC_MXC
setup_iomux_fec();
#endif
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册