]> git.sur5r.net Git - u-boot/commit
ARM: imx6: fix wrong fec clk
authorMarkus Niebel <Markus.Niebel@tqs.de>
Wed, 5 Feb 2014 09:51:25 +0000 (10:51 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Feb 2014 10:31:52 +0000 (11:31 +0100)
commitadadc915b31c4d55561c2703849f92cddfa8ad24
treee9d24c0ecbb20a60903e9075ab360ab0344bebf8
parentbb01956344da904463870104d3a66ecfffea7c7a
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