]> code.ossystems Code Review - bsp/u-boot.git/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 28 Mar 2014 16:38:45 +0000 (13:38 -0300)
commit029912e9751aa935607592d12371281625a03cdc
tree8da95d5377f08b1c6170a7838242d06510631b22
parent0163b4c7a9d198c1e69011f866e33fbed967f026
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