diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2010-09-30 09:15:03 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-10-20 02:27:18 -0500 |
commit | a1964ea5c25238fdad254dbe88d1e4ed9cd84061 (patch) | |
tree | a69b11d110cddfd003674577e199c847faa21eb3 /board/freescale/mpc8569mds | |
parent | f8c42495e08b270dbeb47c5dd79e9564fa4b5ec2 (diff) | |
download | u-boot-imx-a1964ea5c25238fdad254dbe88d1e4ed9cd84061.zip u-boot-imx-a1964ea5c25238fdad254dbe88d1e4ed9cd84061.tar.gz u-boot-imx-a1964ea5c25238fdad254dbe88d1e4ed9cd84061.tar.bz2 |
powerpc/8xxx: Add fdt_fixup_phy_connection helper
Add a common helper that will set the PHY connection type based on enum.
We use this on eTSEC, UCC, and will with Fman in the future.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8569mds')
-rw-r--r-- | board/freescale/mpc8569mds/mpc8569mds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mpc8569mds/mpc8569mds.c b/board/freescale/mpc8569mds/mpc8569mds.c index 795e565..743e712 100644 --- a/board/freescale/mpc8569mds/mpc8569mds.c +++ b/board/freescale/mpc8569mds/mpc8569mds.c @@ -622,8 +622,8 @@ void ft_board_setup(void *blob, bd_t *bd) break; } - err = fdt_setprop_string(blob, nodeoff, "phy-connection-type", - "rmii"); + err = fdt_fixup_phy_connection(blob, nodeoff, RMII); + if (err < 0) { printf("WARNING: could not set phy-connection-type " "%s.\n", fdt_strerror(err)); |