summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2015-04-20 18:33:38 +0800
committerFugang Duan <b38611@freescale.com>2015-04-21 10:32:53 +0800
commit07105e18dd0899c47ef80d3fddecf3ef250d895a (patch)
tree9c93c0dfe9db8181716421b7dc0529ad3d7c410c
parent0373a160e7f698064a6625e85f9120b6c81c1b61 (diff)
downloadu-boot-imx-07105e18dd0899c47ef80d3fddecf3ef250d895a.zip
u-boot-imx-07105e18dd0899c47ef80d3fddecf3ef250d895a.tar.gz
u-boot-imx-07105e18dd0899c47ef80d3fddecf3ef250d895a.tar.bz2
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>
-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 f1a6527..69f001b 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