]> git.sur5r.net Git - u-boot/commit
NET: fec_mxc: fix MDIO clock prescaler calculation
authorMarkus Niebel <Markus.Niebel@tqs.de>
Wed, 5 Feb 2014 09:54:11 +0000 (10:54 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Feb 2014 10:33:45 +0000 (11:33 +0100)
commit6ba45cc0f8b46533965219cfd90864a60ec1009b
tree1627b25a018f4779f79d4e7590e790ff094aed3f
parentadadc915b31c4d55561c2703849f92cddfa8ad24
NET: fec_mxc: fix MDIO clock prescaler calculation

The prescaler value for MDC is calculated wrong for
MX6S. Implement the same logic as linux here which handles
ENET_MAC different then original FEC.

Tested on a custom board with i.MX6S and 100MBit PHY

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
drivers/net/fec_mxc.c