]> code.ossystems Code Review - bsp/u-boot.git/commit
ARM: imx6: fix wrong fec clk
authorMarkus Niebel <Markus.Niebel@tqs.de>
Wed, 5 Feb 2014 09:51:25 +0000 (10:51 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 28 Mar 2014 16:38:45 +0000 (13:38 -0300)
commit0163b4c7a9d198c1e69011f866e33fbed967f026
tree65173c875e20ef285cf88d9f8eca89c46822e821
parent9f120dcdd0f15b2129a537642119aa4ab0d6b522
ARM: imx6: fix wrong fec clk

imx_get_fecclk() returns enet_ref instead of ipg.
Since the clock is used to calculate the prescaler
for the MDIO interface wrong values can be calculated.

Tested on a custom MX6S board with 100MBit interface

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
arch/arm/cpu/armv7/mx6/clock.c