[U-Boot,v2,1/3] i.mx: i.mx6q: Add the enet clock function

Submitted by Jason Liu on Dec. 16, 2011, 3:17 p.m.

Details

Message ID 1324048628-27516-2-git-send-email-jason.hui@linaro.org
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Jason Liu Dec. 16, 2011, 3:17 p.m.
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jason Liu <jason.hui@linaro.org>
Acked-by: Stefano Babic <sbabic@denx.de>

---
v2: Add Stefano's ack
---
 arch/arm/cpu/armv7/mx6/clock.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Comments

Stefano Babic Dec. 16, 2011, 4:21 p.m.
On 16/12/2011 16:17, Jason Liu wrote:
> Cc: Stefano Babic <sbabic@denx.de>
> Signed-off-by: Jason Liu <jason.hui@linaro.org>
> Acked-by: Stefano Babic <sbabic@denx.de>
> 
> ---
> v2: Add Stefano's ack

Jason,

if you prefer it is not required to send a new version with only the
ACK. Patchworks has already applied my ACK to the previous patch.

Howerver, nothing against if it is better for you to repost the whole
patchset.

Stefano
Stefano Babic Dec. 19, 2011, 6:45 a.m.
On 16/12/2011 16:17, Jason Liu wrote:
> Cc: Stefano Babic <sbabic@denx.de>
> Signed-off-by: Jason Liu <jason.hui@linaro.org>
> Acked-by: Stefano Babic <sbabic@denx.de>
> 
> ---
> v2: Add Stefano's ack
> ---

Applied to u-boot-imx, next branch, thanks.

Best regards,
Stefano Babic

Patch hide | download patch | download mbox

diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c
index b143535..fa3a124 100644
--- 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) {