From: Sergey Yanovich <ynvich@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: pxa: config option for PXA270 turbo mode
Date: Tue, 21 May 2013 23:49:41 +0400 [thread overview]
Message-ID: <1369165781-16092-1-git-send-email-ynvich@gmail.com> (raw)
In-Reply-To: <201305212125.33226.marex@denx.de>
PXA270 CPU has turbo mode. The mode is 2.5 times faster than the
default run mode. Activating the mode early significantly speeds
up boot process.
Signed-off-by: Sergey Yanovich <ynvich@gmail.com>
---
Changes for v3:
- make the change unconditional
Changes for v2:
- activate turbo mode and fast bus by default
---
arch/arm/cpu/pxa/pxa2xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/pxa/pxa2xx.c b/arch/arm/cpu/pxa/pxa2xx.c
index 09e8177..67a2ce1 100644
--- a/arch/arm/cpu/pxa/pxa2xx.c
+++ b/arch/arm/cpu/pxa/pxa2xx.c
@@ -244,7 +244,7 @@ void pxa_clock_setup(void)
{
writel(CONFIG_SYS_CKEN, CKEN);
writel(CONFIG_SYS_CCCR, CCCR);
- asm volatile("mcr p14, 0, %0, c6, c0, 0" : : "r"(2));
+ asm volatile("mcr p14, 0, %0, c6, c0, 0" : : "r"(0x0b));
/* enable the 32Khz oscillator for RTC and PowerManager */
writel(OSCC_OON, OSCC);
--
1.7.10.4
next prev parent reply other threads:[~2013-05-21 19:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 21:44 [U-Boot] [PATCH] arm: pxa: config option for PXA270 turbo mode Sergey Yanovich
2013-05-21 10:35 ` Marek Vasut
2013-05-21 10:51 ` Sergey Yanovich
2013-05-21 10:55 ` Marek Vasut
2013-05-21 11:14 ` Sergey Yanovich
2013-05-21 11:22 ` Marek Vasut
2013-05-21 11:22 ` Marek Vasut
2013-05-21 16:23 ` Sergey Yanovich
2013-05-21 19:25 ` Marek Vasut
2013-05-21 19:45 ` Sergey Yanovich
2013-05-21 19:49 ` Sergey Yanovich [this message]
2013-05-21 19:58 ` Marek Vasut
2013-05-21 20:00 ` Sergey Yanovich
2013-05-21 20:09 ` Marek Vasut
2013-05-21 11:42 ` Sergey Yanovich
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=1369165781-16092-1-git-send-email-ynvich@gmail.com \
--to=ynvich@gmail.com \
--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.