提交 ff167df5 编写于 作者: J Jason Liu 提交者: Albert ARIBAUD

i.mx: i.mx6q: Add the enet clock function

Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: NJason Liu <jason.hui@linaro.org>
Acked-by: NStefano Babic <sbabic@denx.de>
上级 f1f441af
......@@ -285,6 +285,11 @@ u32 imx_get_uartclk(void)
return get_uart_clk();
}
u32 imx_get_fecclk(void)
{
return decode_pll(PLL_ENET, CONFIG_SYS_MX6_HCLK);
}
unsigned int mxc_get_clock(enum mxc_clock clk)
{
switch (clk) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册