mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-03 21:02:07 +00:00
imx: initialize fec only when enabled
board early initialize fec ethernet controller pinmux only when FEC is enabled Signed-off-by: Parthiban Nallathambi <pn@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
84d5e72ffb
commit
921bb8641d
1 changed files with 2 additions and 0 deletions
|
@ -178,7 +178,9 @@ int board_phy_config(struct phy_device *phydev)
|
||||||
int board_early_init_f(void)
|
int board_early_init_f(void)
|
||||||
{
|
{
|
||||||
setup_iomux_uart();
|
setup_iomux_uart();
|
||||||
|
#ifdef CONFIG_FEC_MXC
|
||||||
setup_iomux_fec();
|
setup_iomux_fec();
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue