projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1f441a
)
i.mx: i.mx6q: Add the enet clock function
author
Jason Liu
<jason.hui@linaro.org>
Fri, 16 Dec 2011 05:17:06 +0000
(
05:17
+0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Mon, 16 Jan 2012 07:40:08 +0000
(08:40 +0100)
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jason Liu <jason.hui@linaro.org>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx6/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx6/clock.c
b/arch/arm/cpu/armv7/mx6/clock.c
index b143535972e82d254a38a0337aa3e971452657ff..fa3a124807954ba467133f0fed48d2dcb36142c8 100644
(file)
--- a/
arch/arm/cpu/armv7/mx6/clock.c
+++ b/
arch/arm/cpu/armv7/mx6/clock.c
@@
-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) {