diff options
author | benoit.thebaudeau@advans <benoit.thebaudeau@advans> | 2012-07-19 02:12:46 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-07-19 11:46:13 -0500 |
commit | 9d2d924a0a728a4f852a3e9de7aa6cc72c4b460d (patch) | |
tree | bde3e3ebe3ce16002ffd26a60658941b89b20d17 /drivers/net/Makefile | |
parent | 48a3e999c86e7e6033133152b07a308def559d46 (diff) | |
download | u-boot-imx-9d2d924a0a728a4f852a3e9de7aa6cc72c4b460d.zip u-boot-imx-9d2d924a0a728a4f852a3e9de7aa6cc72c4b460d.tar.gz u-boot-imx-9d2d924a0a728a4f852a3e9de7aa6cc72c4b460d.tar.bz2 |
net: fec_mxc: Fix setting of RCR for xMII
At least on i.MX25, the RMII mode did not work, which is fixed by this patch.
The MII_MODE bit of the FEC RCR register means xMII, i.e. 'not 7-wire', so set
it accordingly.
According to the xMII and 7-wire (aka GPSI) standards, full duplex should be
available on xMII, but not on 7-wire, so set FCE accordingly. The FEC may
support full duplex for 7-wire too, but the reference manual does not say that,
so avoid an invalid assumption. Actually, the choice between half and full
duplex also depends on the endpoint/switch/repeater configuration, so a config
option could be added for that, but there has been no need for it so far.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/net/Makefile')
0 files changed, 0 insertions, 0 deletions