summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap2-git/beagleboard/02-beagle_use_gptimer12
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2008-08-14 23:48:23 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2008-08-14 23:48:23 +0000
commite9570b88fa18c49a68b5f44bffd7e2abb101f499 (patch)
tree083d8795a6ff13b6950f8da4ba4c507791b39fa2 /packages/linux/linux-omap2-git/beagleboard/02-beagle_use_gptimer12
parent8e9a327b9c3924807b7c2093d6cc910213720440 (diff)
parent2792ce30ea1b3eb6a32bad578a956557e3040e89 (diff)
merge of '77de2c054faaf8169bea5553ae2311a39a581403'
and 'fd59ca4a2d1cdb56a15d6a3323721ce78836fe52'
Diffstat (limited to 'packages/linux/linux-omap2-git/beagleboard/02-beagle_use_gptimer12')
-rw-r--r--packages/linux/linux-omap2-git/beagleboard/02-beagle_use_gptimer1238
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/linux/linux-omap2-git/beagleboard/02-beagle_use_gptimer12 b/packages/linux/linux-omap2-git/beagleboard/02-beagle_use_gptimer12
new file mode 100644
index 0000000000..51d2c8cff0
--- /dev/null
+++ b/packages/linux/linux-omap2-git/beagleboard/02-beagle_use_gptimer12
@@ -0,0 +1,38 @@
+BeagleBoard: make Beagle use GPTIMER12 for system ticks
+
+From: Paul Walmsley <paul@pwsan.com>
+
+There is suspicion that the 32kHz input clock to the OMAP may be noisy
+on BeagleBoards. On OMAP2/3 GPTIMER1, this can cause the timer
+counter register to warp to unknown values or miss interrupt
+conditions. So, use GPTIMER12 instead, which apparently has its own
+secure 32kHz oscillator and will hopefully not be prone to the 32kHz
+glitches.
+---
+
+ arch/arm/configs/omap3_beagle_defconfig | 5 +++--
+ 1 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/configs/omap3_beagle_defconfig b/arch/arm/configs/omap3_beagle_defconfig
+index e1b16d0..7805995 100644
+--- a/arch/arm/configs/omap3_beagle_defconfig
++++ defconfig
+@@ -182,8 +182,8 @@ CONFIG_OMAP_BOOT_REASON=y
+ # CONFIG_OMAP_MCBSP is not set
+ # CONFIG_OMAP_MMU_FWK is not set
+ # CONFIG_OMAP_MBOX_FWK is not set
+-CONFIG_OMAP_MPU_TIMER=y
+-# CONFIG_OMAP_32K_TIMER is not set
++# CONFIG_OMAP_MPU_TIMER is not set
++CONFIG_OMAP_32K_TIMER=y
+ CONFIG_OMAP_DM_TIMER=y
+ # CONFIG_OMAP_LL_DEBUG_UART1 is not set
+ # CONFIG_OMAP_LL_DEBUG_UART2 is not set
+@@ -198,6 +198,7 @@ CONFIG_ARCH_OMAP3430=y
+ # CONFIG_MACH_OMAP_3430SDP is not set
+ # CONFIG_MACH_OMAP3EVM is not set
+ CONFIG_MACH_OMAP3_BEAGLE=y
++CONFIG_OMAP_TICK_GPTIMER=12
+
+ #
+ # Boot options