summaryrefslogtreecommitdiffstats
path: root/include/configs/MPC832XEMDS.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2011-04-13 00:37:12 -0500
committerAndy Fleming <afleming@freescale.com>2011-04-20 15:09:35 -0500
commit865ff856403fb4bec6fe7f18101364384880068f (patch)
tree10d0d27dd3ae1d484bf5920ce4d1be4fcb786ab1 /include/configs/MPC832XEMDS.h
parent063c12633d5ad74d52152d9c358e715475e17629 (diff)
downloadblackbird-obmc-uboot-865ff856403fb4bec6fe7f18101364384880068f.tar.gz
blackbird-obmc-uboot-865ff856403fb4bec6fe7f18101364384880068f.zip
fsl: Change fsl_phy_enet_if to phy_interface_t
The fsl_phy_enet_if enum was, essentially, the phy_interface_t enum. This meant that drivers which used fsl_phy_enet_if to deal with PHY interfaces would have to convert between the two (or we would have to have them mirror each other, and deal with the ensuing maintenance headache). Instead, we switch all clients of fsl_phy_enet_if over to phy_interface_t, which should become the standard, anyway. Signed-off-by: Andy Fleming <afleming@freescale.com> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'include/configs/MPC832XEMDS.h')
-rw-r--r--include/configs/MPC832XEMDS.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/MPC832XEMDS.h b/include/configs/MPC832XEMDS.h
index affa3a9cf8..f136a8e16a 100644
--- a/include/configs/MPC832XEMDS.h
+++ b/include/configs/MPC832XEMDS.h
@@ -361,7 +361,7 @@
#define CONFIG_SYS_UEC1_TX_CLK QE_CLK10
#define CONFIG_SYS_UEC1_ETH_TYPE FAST_ETH
#define CONFIG_SYS_UEC1_PHY_ADDR 3
-#define CONFIG_SYS_UEC1_INTERFACE_TYPE MII
+#define CONFIG_SYS_UEC1_INTERFACE_TYPE PHY_INTERFACE_MODE_MII
#define CONFIG_SYS_UEC1_INTERFACE_SPEED 100
#endif
@@ -373,7 +373,7 @@
#define CONFIG_SYS_UEC2_TX_CLK QE_CLK8
#define CONFIG_SYS_UEC2_ETH_TYPE FAST_ETH
#define CONFIG_SYS_UEC2_PHY_ADDR 4
-#define CONFIG_SYS_UEC2_INTERFACE_TYPE MII
+#define CONFIG_SYS_UEC2_INTERFACE_TYPE PHY_INTERFACE_MODE_MII
#define CONFIG_SYS_UEC2_INTERFACE_SPEED 100
#endif
OpenPOWER on IntegriCloud