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
008861a2f3, i.e., a temporary workaround.
Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user