]> Git Repo - J-u-boot.git/commitdiff
imx: ventana: only pinmux FEC enet signals for boards using it
authorTim Harvey <[email protected]>
Wed, 8 Apr 2015 19:54:48 +0000 (12:54 -0700)
committerStefano Babic <[email protected]>
Wed, 22 Apr 2015 12:39:09 +0000 (14:39 +0200)
Signed-off-by: Tim Harvey <[email protected]>
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
This page took 0.038184 seconds and 4 git commands to generate.