summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-01-03 15:55:57 -0200
committerStefano Babic <sbabic@denx.de>2014-01-15 10:33:25 +0100
commit5f98d0b5d3038cb3345712bc779efacaba4322f7 (patch)
tree1cd9ea54fab25fa4f89de932d21fc87b2c0bc50a /board
parenta6bbee66197759f790de83181924bf1d2cf482b2 (diff)
downloadu-boot-imx-5f98d0b5d3038cb3345712bc779efacaba4322f7.zip
u-boot-imx-5f98d0b5d3038cb3345712bc779efacaba4322f7.tar.gz
u-boot-imx-5f98d0b5d3038cb3345712bc779efacaba4322f7.tar.bz2
mx6: clock: Pass the frequency as argument of enable_fec_anatop_clock()
Provide an argument to enable_fec_anatop_clock() to specify the clock frequency that will be generated. No changes are made to mx6slevk, which uses the default 50MHz fec clock. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6slevk/mx6slevk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c
index dfc5746..c496254 100644
--- a/board/freescale/mx6slevk/mx6slevk.c
+++ b/board/freescale/mx6slevk/mx6slevk.c
@@ -120,7 +120,7 @@ static int setup_fec(void)
/* clear gpr1[14], gpr1[18:17] to select anatop clock */
clrsetbits_le32(&iomuxc_regs->gpr[1], IOMUX_GPR1_FEC_MASK, 0);
- ret = enable_fec_anatop_clock();
+ ret = enable_fec_anatop_clock(ENET_50MHz);
if (ret)
return ret;