summaryrefslogtreecommitdiffstats
path: root/include
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
parent93b78f534a6e708b4cf1a4ffb4d8438c67a007db (diff)
downloadbootable_bootloader_goldelico_gta04-c00125e07c1ebc125bab40e1e18bceed8be0c162.zip
bootable_bootloader_goldelico_gta04-c00125e07c1ebc125bab40e1e18bceed8be0c162.tar.gz
bootable_bootloader_goldelico_gta04-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')
-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