path: root/board/freescale/mpc837xemds/mpc837xemds.c
diff options
authorAndy Fleming <>2011-04-13 00:37:12 -0500
committerAndy Fleming <>2011-04-20 15:09:35 -0500
commit865ff856403fb4bec6fe7f18101364384880068f (patch)
tree10d0d27dd3ae1d484bf5920ce4d1be4fcb786ab1 /board/freescale/mpc837xemds/mpc837xemds.c
parent063c12633d5ad74d52152d9c358e715475e17629 (diff)
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 <> Acked-by: Detlev Zundel <>
Diffstat (limited to 'board/freescale/mpc837xemds/mpc837xemds.c')
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c
index ee1ebd98ba..650a4fe483 100644
--- a/board/freescale/mpc837xemds/mpc837xemds.c
+++ b/board/freescale/mpc837xemds/mpc837xemds.c
@@ -22,6 +22,7 @@
#include <fdt_support.h>
#include <fsl_esdhc.h>
#include <fsl_mdio.h>
+#include <phy.h>
#include "pci.h"
#include "../common/pq-mds-pib.h"
@@ -155,7 +156,7 @@ static void __ft_tsec_fixup(void *blob, bd_t *bd, const char *alias,
- err = fdt_fixup_phy_connection(blob, off, SGMII);
+ err = fdt_fixup_phy_connection(blob, off, PHY_INTERFACE_MODE_SGMII);
if (err) {
printf("WARNING: could not set phy-connection-type for %s: "
OpenPOWER on IntegriCloud