From 865ff856403fb4bec6fe7f18101364384880068f Mon Sep 17 00:00:00 2001 From: Andy Fleming Date: Wed, 13 Apr 2011 00:37:12 -0500 Subject: 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 --- board/freescale/mpc8569mds/mpc8569mds.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'board/freescale/mpc8569mds') diff --git a/board/freescale/mpc8569mds/mpc8569mds.c b/board/freescale/mpc8569mds/mpc8569mds.c index ecda222..89557d2 100644 --- a/board/freescale/mpc8569mds/mpc8569mds.c +++ b/board/freescale/mpc8569mds/mpc8569mds.c @@ -39,6 +39,7 @@ #include #include #include +#include #include "bcsr.h" #if defined(CONFIG_PQ_MDS_PIB) @@ -550,7 +551,8 @@ void ft_board_setup(void *blob, bd_t *bd) break; } - err = fdt_fixup_phy_connection(blob, nodeoff, RMII); + err = fdt_fixup_phy_connection(blob, nodeoff, + PHY_INTERFACE_MODE_RMII); if (err < 0) { printf("WARNING: could not set phy-connection-type " -- cgit v1.1