diff options
Diffstat (limited to 'recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap3-beagle-Use-GPTIMERi-1-for-clockevents.patch')
-rw-r--r-- | recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap3-beagle-Use-GPTIMERi-1-for-clockevents.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap3-beagle-Use-GPTIMERi-1-for-clockevents.patch b/recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap3-beagle-Use-GPTIMERi-1-for-clockevents.patch deleted file mode 100644 index d5a4cf67..00000000 --- a/recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap3-beagle-Use-GPTIMERi-1-for-clockevents.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 101b0aedf8152711847e2f9f347d267a3ac7f287 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sanjeev Premi <premi@ti.com> | ||
3 | Date: Fri, 24 Jun 2011 16:23:45 +0000 | ||
4 | Subject: [PATCH 7/7] omap3: beagle: Use GPTIMERi 1 for clockevents | ||
5 | |||
6 | The current selection of the GPTIMER on was result of | ||
7 | a hardware issue in early versions of the Beagleboards | ||
8 | (Ax and B1 thru B4). [1] [2] | ||
9 | |||
10 | Its been long since the hardware issue has been fixed. | ||
11 | This patch uses GPTIMER 1 for all newer board revisions | ||
12 | incl. Beagleboard XM. | ||
13 | |||
14 | [1] http://thread.gmane.org/gmane.comp.hardware.beagleboard.general/91 | ||
15 | [2] Errata #7 at http://elinux.org/BeagleBoard#Errata | ||
16 | |||
17 | Signed-off-by: Sanjeev Premi <premi@ti.com> | ||
18 | Cc: Paul Walmsley <paul@pwsan.com> | ||
19 | Reviewed-by: Paul Walmsley <paul@pwsan.com> | ||
20 | --- | ||
21 | arch/arm/mach-omap2/board-omap3beagle.c | 5 ++++- | ||
22 | 1 files changed, 4 insertions(+), 1 deletions(-) | ||
23 | |||
24 | diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c | ||
25 | index 61564a4..20d5912 100644 | ||
26 | --- a/arch/arm/mach-omap2/board-omap3beagle.c | ||
27 | +++ b/arch/arm/mach-omap2/board-omap3beagle.c | ||
28 | @@ -806,7 +806,10 @@ static void __init omap3_beagle_init_irq(void) | ||
29 | { | ||
30 | omap_init_irq(); | ||
31 | #ifdef CONFIG_OMAP_32K_TIMER | ||
32 | - omap2_gp_clockevent_set_gptimer(12); | ||
33 | + if (omap3_beagle_version == OMAP3BEAGLE_BOARD_AXBX) | ||
34 | + omap2_gp_clockevent_set_gptimer(12); | ||
35 | + else | ||
36 | + omap2_gp_clockevent_set_gptimer(1); | ||
37 | #endif | ||
38 | } | ||
39 | |||
40 | -- | ||
41 | 1.6.6.1 | ||
42 | |||