summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Yanovich <ynvich@gmail.com>2013-05-21 23:49:41 +0400
committerMarek Vasut <marex@denx.de>2013-06-12 22:24:12 +0200
commit847e6693ccb529bf8346db62876f38f0c4e04ade (patch)
treec00db439b98e497c22c1c62af7504d6da1c22f73
parentc3442c1e322bc8bdfae2f67c2a9cf2bf76d57a2c (diff)
downloadu-boot-imx-847e6693ccb529bf8346db62876f38f0c4e04ade.zip
u-boot-imx-847e6693ccb529bf8346db62876f38f0c4e04ade.tar.gz
u-boot-imx-847e6693ccb529bf8346db62876f38f0c4e04ade.tar.bz2
arm: pxa: config option for PXA270 turbo mode
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>
-rw-r--r--arch/arm/cpu/pxa/pxa2xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/pxa/pxa2xx.c b/arch/arm/cpu/pxa/pxa2xx.c
index 0c18610..f07dc67 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);