]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
imx: ventana: only pinmux FEC enet signals for boards using it
authorTim Harvey <tharvey@gateworks.com>
Wed, 8 Apr 2015 19:54:48 +0000 (12:54 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:42:49 +0000 (14:42 +0200)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana.c

index 98846168b7d9c8b16476b4e94a529afbb7eaf252..2906dccf466ff0d08b4f0e1353fe8b8e6068036e 100644 (file)
@@ -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