From: Sascha Hauer <s.hauer@pengutronix.de>
To: Teresa Remmet <t.remmet@phytec.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/2] arm: am33xx: Move function to read from Master OSC
Date: Fri, 22 Jan 2016 08:03:08 +0100 [thread overview]
Message-ID: <20160122070308.GN13058@pengutronix.de> (raw)
In-Reply-To: <1453192254-8266-1-git-send-email-t.remmet@phytec.de>
Hi Teresa,
On Tue, Jan 19, 2016 at 09:30:53AM +0100, Teresa Remmet wrote:
> From: Daniel Schultz <d.schultz@phytec.de>
>
> Move the function to read the Master OSC speed from
> the SYSBOOT Configuration Pin for reuse.
>
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
> Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
> ---
> arch/arm/mach-omap/am33xx_clock.c | 24 ++++++++++++++++++++++++
> arch/arm/mach-omap/dmtimer.c | 19 ++-----------------
> arch/arm/mach-omap/include/mach/am33xx-clock.h | 1 +
> 3 files changed, 27 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/mach-omap/am33xx_clock.c b/arch/arm/mach-omap/am33xx_clock.c
> index 6d8adde..19aeb59 100644
> --- a/arch/arm/mach-omap/am33xx_clock.c
> +++ b/arch/arm/mach-omap/am33xx_clock.c
> @@ -318,3 +318,27 @@ void am33xx_pll_init(int mpupll_M, int osc, int ddrpll_M)
> /* Enable the required peripherals */
> am33xx_enable_per_clocks();
> }
> +
> +u64 am33xx_get_osc_clock(void)
Rather use a 32bit type.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2016-01-22 7:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-19 8:30 Teresa Remmet
2016-01-19 8:30 ` [PATCH 2/2] arm: am33xx: Master Osc clock speed handling Teresa Remmet
2016-01-22 7:05 ` Sascha Hauer
2016-01-22 7:03 ` Sascha Hauer [this message]
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=20160122070308.GN13058@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=t.remmet@phytec.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox