imx: ventana: only pinmux FEC enet signals for boards using it
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
7c5cd42ab1
commit
aec3761a77
|
@ -397,11 +397,11 @@ int board_phy_config(struct phy_device *phydev)
|
||||||
|
|
||||||
int board_eth_init(bd_t *bis)
|
int board_eth_init(bd_t *bis)
|
||||||
{
|
{
|
||||||
setup_iomux_enet();
|
|
||||||
|
|
||||||
#ifdef CONFIG_FEC_MXC
|
#ifdef CONFIG_FEC_MXC
|
||||||
if (board_type != GW551x && board_type != GW552x)
|
if (board_type != GW551x && board_type != GW552x) {
|
||||||
|
setup_iomux_enet();
|
||||||
cpu_eth_init(bis);
|
cpu_eth_init(bis);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_E1000
|
#ifdef CONFIG_E1000
|
||||||
|
|
Loading…
Reference in New Issue