summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2007-05-27 16:58:45 +0200
committerBartlomiej Sieka <tur@semihalf.com>2007-05-27 16:58:45 +0200
commitc00125e07c1ebc125bab40e1e18bceed8be0c162 (patch)
tree5c6261640564551bf822181ace842a3147e45025 /include/configs
parent93b78f534a6e708b4cf1a4ffb4d8438c67a007db (diff)
downloadu-boot-imx-c00125e07c1ebc125bab40e1e18bceed8be0c162.zip
u-boot-imx-c00125e07c1ebc125bab40e1e18bceed8be0c162.tar.gz
u-boot-imx-c00125e07c1ebc125bab40e1e18bceed8be0c162.tar.bz2
MPC5XXX, Motion-PRO: Fix PHY initialization problem.
After being reset in mpc5xxx_fec_init_phy(), PHY goes into FX mode, in which networking does not function. This commit switches PHY to TX mode by clearing the FX_SEL bit of Mode Control Register. It also reverses commit 008861a2f3ef2c062744d733787c7e530a1b8761, i.e., a temporary workaround. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/motionpro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h
index a4df64a..a7021b0 100644
--- a/include/configs/motionpro.h
+++ b/include/configs/motionpro.h
@@ -76,7 +76,7 @@
#define CONFIG_MPC5xxx_FEC 1
#define CONFIG_PHY_ADDR 0x2
#define CONFIG_PHY_TYPE 0x79c874
-
+#define CONFIG_RESET_PHY_R 1
/*
* Autobooting