mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
i.mx: i.mx6q: Add the enet clock function
Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Jason Liu <jason.hui@linaro.org> Acked-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
f1f441afc4
commit
ff167df51c
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue