summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2015-04-20 18:33:38 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:10:28 +0800
commit83e877b231830aabfa7ae4dc25f95e8778364d9d (patch)
treee65667bbeb1dccdde6fee5a82cb96c3246b8a303 /arch/arm
parent30e34a6b8037b687ec1754c93a719be500db9c4a (diff)
downloadu-boot-imx-83e877b231830aabfa7ae4dc25f95e8778364d9d.zip
u-boot-imx-83e877b231830aabfa7ae4dc25f95e8778364d9d.tar.gz
u-boot-imx-83e877b231830aabfa7ae4dc25f95e8778364d9d.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> (cherry picked from commit 07105e18dd0899c47ef80d3fddecf3ef250d895a)
Diffstat (limited to 'arch/arm')
-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 79a8e75..39fdd75 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