diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2007-10-22 18:12:46 +0400 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-01-09 16:25:03 -0600 |
commit | ad162249cb371e9e38971676f09be791e5f3cf4a (patch) | |
tree | 268ae1825f88c6911f8fdd20e1f26d6f8d56710f /board/freescale/mpc8568mds/mpc8568mds.c | |
parent | 2146cf56821c3364786ca94a7306008c5824b238 (diff) | |
download | u-boot-imx-ad162249cb371e9e38971676f09be791e5f3cf4a.zip u-boot-imx-ad162249cb371e9e38971676f09be791e5f3cf4a.tar.gz u-boot-imx-ad162249cb371e9e38971676f09be791e5f3cf4a.tar.bz2 |
MPC8568E-MDS: reset UCCs to use them reliably
In order to use GETH1 and GETH2 on the MPC8568E-MDS, we should reset
UCCs.
p.s Similar code exists in the Linux kernel board file (for capability
reasons with older U-Boots), but should be removed some day.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Diffstat (limited to 'board/freescale/mpc8568mds/mpc8568mds.c')
-rw-r--r-- | board/freescale/mpc8568mds/mpc8568mds.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/mpc8568mds/mpc8568mds.c b/board/freescale/mpc8568mds/mpc8568mds.c index 460cb1b..1aaecf3 100644 --- a/board/freescale/mpc8568mds/mpc8568mds.c +++ b/board/freescale/mpc8568mds/mpc8568mds.c @@ -109,6 +109,9 @@ int board_early_init_f (void) enable_8568mds_duart(); enable_8568mds_flash_write(); +#if defined(CONFIG_UEC_ETH1) || defined(CONFIG_UEC_ETH2) + reset_8568mds_uccs(); +#endif #if defined(CONFIG_QE) && !defined(CONFIG_eTSEC_MDIO_BUS) enable_8568mds_qe_mdio(); #endif |