diff options
author | javier Martin <javier.martin@vista-silicon.com> | 2009-10-29 08:18:34 +0100 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-11-11 13:27:09 -0800 |
commit | e8f1546a88b4ade6a910c4a7958a774ee1b40023 (patch) | |
tree | d5cb38b11afba8122253595e612c818565305a65 /common/serial.c | |
parent | d14c7ec2b51fb92c4a5218b299b772c3d186510d (diff) | |
download | u-boot-imx-e8f1546a88b4ade6a910c4a7958a774ee1b40023.zip u-boot-imx-e8f1546a88b4ade6a910c4a7958a774ee1b40023.tar.gz u-boot-imx-e8f1546a88b4ade6a910c4a7958a774ee1b40023.tar.bz2 |
mxc_fec: fix some erroneous PHY accesses.
This patch fixes erroneous access to the ethernet PHY which broke the driver.
1. Selector field in the auto-negotiation register must be 0x00001 for
using 802.3, not 0x00000 which is reseved.
2. Access to the PHY address specified by CONFIG_FEC_MXC_PHYADDR, not
0x0 fixed address.
This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains.
Now using proper defines for auto-negotiation register.
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'common/serial.c')
0 files changed, 0 insertions, 0 deletions