summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2015-04-20 18:33:38 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:27 +0100
commit93be6eede8acafb297f570ed7f119f5fff7c88a6 (patch)
tree502104296a73bcaaeb47c6dedc07467e69eeeb23 /arch
parenta31736ebd7661f134f003f3ea060e20914fc4c7c (diff)
MLK-10702 imx: mx7d: clock: correct fec MDC root clock
In i.MX7d platform, fec MDC root clock is ENET_AXI_ROOT_CLK, not ipg clock, correct it. Signed-off-by: Fugang Duan <B38611@freescale.com> (cherry picked from commit 07105e18dd0899c47ef80d3fddecf3ef250d895a)
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/mx7/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx7/clock.c b/arch/arm/cpu/armv7/mx7/clock.c
index 79a8e7560f8..39fdd752336 100644
--- a/arch/arm/cpu/armv7/mx7/clock.c
+++ b/arch/arm/cpu/armv7/mx7/clock.c
@@ -59,7 +59,7 @@ u32 imx_get_uartclk(void)
u32 imx_get_fecclk(void)
{
- return get_ipg_clk();
+ return get_root_clk(ENET_AXI_CLK_ROOT);
}
#ifdef CONFIG_MXC_OCOTP