summaryrefslogtreecommitdiffstats
path: root/board/gateworks
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-04-08 12:54:48 -0700
committerStefano Babic <sbabic@denx.de>2015-04-22 14:39:09 +0200
commitaec3761a77645ce4f06dbf1f972c1031151156fa (patch)
tree9c0b267008ec94665805968fb0882bf789c6c67d /board/gateworks
parent7c5cd42ab1585585e5494fa503ca1b4110e671dc (diff)
downloadtalos-obmc-uboot-aec3761a77645ce4f06dbf1f972c1031151156fa.tar.gz
talos-obmc-uboot-aec3761a77645ce4f06dbf1f972c1031151156fa.zip
imx: ventana: only pinmux FEC enet signals for boards using it
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 98846168b7..2906dccf46 100644
--- a/board/gateworks/gw_ventana/gw_ventana.c
+++ b/board/gateworks/gw_ventana/gw_ventana.c
@@ -397,11 +397,11 @@ int board_phy_config(struct phy_device *phydev)
int board_eth_init(bd_t *bis)
{
- setup_iomux_enet();
-
#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);
+ }
#endif
#ifdef CONFIG_E1000
OpenPOWER on IntegriCloud