summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2010-07-20 14:56:07 -0700
committerSandeep Paulraj <s-paulraj@ti.com>2010-08-05 10:11:20 -0400
commit674e0b217f794800048d80de09a71255b890a53e (patch)
tree5f9696df1adcaa7414390d42a0509962c54fcc77 /include/configs
parent2ad853c3485e08612bb7725ba50d35b679978ebc (diff)
downloadu-boot-imx-674e0b217f794800048d80de09a71255b890a53e.zip
u-boot-imx-674e0b217f794800048d80de09a71255b890a53e.tar.gz
u-boot-imx-674e0b217f794800048d80de09a71255b890a53e.tar.bz2
ARMV7: Fix udelay for OMAP4
The OMAP4 x-load code sets gptimer1 clock source to 32Khz. This isn't acceptable for udelay. This patch changes from gptimer1 to gptimer2, which uses sys_clk at 38.4 Mhz. Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/omap4_panda.h2
-rw-r--r--include/configs/omap4_sdp4430.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index 0c5ef7b..0fb1ad3 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -196,7 +196,7 @@
#define CONFIG_SYS_LOAD_ADDR 0x80000000
/* Use General purpose timer 1 */
-#define CONFIG_SYS_TIMERBASE GPT1_BASE
+#define CONFIG_SYS_TIMERBASE GPT2_BASE
#define CONFIG_SYS_PTV 2 /* Divisor: 2^(PTV+1) => 8 */
#define CONFIG_SYS_HZ 1000
diff --git a/include/configs/omap4_sdp4430.h b/include/configs/omap4_sdp4430.h
index ede7691..ef5272b 100644
--- a/include/configs/omap4_sdp4430.h
+++ b/include/configs/omap4_sdp4430.h
@@ -197,7 +197,7 @@
#define CONFIG_SYS_LOAD_ADDR 0x80000000
/* Use General purpose timer 1 */
-#define CONFIG_SYS_TIMERBASE GPT1_BASE
+#define CONFIG_SYS_TIMERBASE GPT2_BASE
#define CONFIG_SYS_PTV 2 /* Divisor: 2^(PTV+1) => 8 */
#define CONFIG_SYS_HZ 1000