MPC5XXX, Motion-PRO: Fix PHY initialization problem.
authorBartlomiej Sieka <tur@semihalf.com>
Sun, 27 May 2007 14:58:45 +0000 (16:58 +0200)
committerBartlomiej Sieka <tur@semihalf.com>
Sun, 27 May 2007 14:58:45 +0000 (16:58 +0200)
commitc00125e07c1ebc125bab40e1e18bceed8be0c162
tree5c6261640564551bf822181ace842a3147e45025
parent93b78f534a6e708b4cf1a4ffb4d8438c67a007db
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>
board/motionpro/motionpro.c
cpu/mpc5xxx/fec.c
include/configs/motionpro.h