From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] i.mx: i.mx6q: Add the enet clock function
Date: Fri, 16 Dec 2011 12:21:53 +0100 [thread overview]
Message-ID: <4EEB29D1.1040704@denx.de> (raw)
In-Reply-To: <1323783864-11614-2-git-send-email-jason.hui@linaro.org>
On 13/12/2011 14:44, Jason Liu wrote:
> Cc: Stefano Babic <sbabic@denx.de>
> Signed-off-by: Jason Liu <jason.hui@linaro.org>
> ---
> arch/arm/cpu/armv7/mx6/clock.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> 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) {
Acked-by: Stefano Babic <sbabic@denx.de>
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2011-12-16 11:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-13 13:44 [U-Boot] [PATCH 0/3] i.mx6q: Add the ethernet function support Jason Liu
2011-12-13 13:44 ` [U-Boot] [PATCH 1/3] i.mx: i.mx6q: Add the enet clock function Jason Liu
2011-12-16 11:21 ` Stefano Babic [this message]
2011-12-13 13:44 ` [U-Boot] [PATCH 2/3] fec: add the i.mx6q enet driver support Jason Liu
2011-12-16 11:22 ` Stefano Babic
2011-12-13 13:44 ` [U-Boot] [PATCH 3/3] i.mx6q: arm2: Add the enet function support Jason Liu
2011-12-16 11:30 ` Stefano Babic
2011-12-16 14:51 ` Liu Hui-R64343
2011-12-13 14:56 ` [U-Boot] [PATCH 0/3] i.mx6q: Add the ethernet " Dirk Behme
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EEB29D1.1040704@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.