Merge lp:~doanac/x-loader/overo-clock-fix into lp:x-loader

Proposed by Andy Doan
Status: Merged
Merged at revision: 6
Proposed branch: lp:~doanac/x-loader/overo-clock-fix
Merge into: lp:x-loader
Diff against target: 45 lines (+33/-0)
2 files modified
debian/patches/09-overo-Fix-bug-in-prcm_init.patch (+32/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~doanac/x-loader/overo-clock-fix
Reviewer Review Type Date Requested Status
X-Loader Packagers Pending
Review via email: mp+53935@code.launchpad.net

Description of the change

This fixes the clocking issue I'm seeing on my Overo Tide. Its just pulling in the upstream fix from Steve Sakoman.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'debian/patches/09-overo-Fix-bug-in-prcm_init.patch'
--- debian/patches/09-overo-Fix-bug-in-prcm_init.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/09-overo-Fix-bug-in-prcm_init.patch 2011-03-18 02:57:24 +0000
@@ -0,0 +1,32 @@
1From 24b8b7f41a83540433024854736518876257672c Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com>
3Date: Sat, 29 Jan 2011 00:52:29 +0530
4Subject: [PATCH] overo: Fix bug in prcm_init
5
6The overo get_cpu_rev function was extended when 37XX support was
7added, but I neglected to modify the index calculation in prcm_init
8to compensate.
9
10Signed-off-by: Steve Sakoman <steve@sakoman.com>
11Tested-by: Philip Balister <philip@opensdr.com>
12Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13---
14 board/overo/overo.c | 2 +-
15 1 files changed, 1 insertions(+), 1 deletions(-)
16
17diff --git a/board/overo/overo.c b/board/overo/overo.c
18index 8df53e5..b2c536a 100644
19--- a/board/overo/overo.c
20+++ b/board/overo/overo.c
21@@ -610,7 +610,7 @@ void prcm_init(void)
22 * and sil_index will get the values for that SysClk for the
23 * appropriate silicon rev.
24 */
25- sil_index = get_cpu_rev() - 1;
26+ sil_index = (get_cpu_rev() == CPU_3XX_ES10) ? 0 : 1;
27
28 /* Unlock MPU DPLL (slows things down, and needed later) */
29 sr32(CM_CLKEN_PLL_MPU, 0, 3, PLL_LOW_POWER_BYPASS);
30--
311.7.4.1
32
033
=== modified file 'debian/patches/series'
--- debian/patches/series 2011-01-26 00:11:14 +0000
+++ debian/patches/series 2011-03-18 02:57:24 +0000
@@ -6,3 +6,4 @@
606-omap4_disable_slimbus_and_pad_clks.patch606-omap4_disable_slimbus_and_pad_clks.patch
707-omap4_make_1ghz_as_default_mpu_clock.patch707-omap4_make_1ghz_as_default_mpu_clock.patch
808-igepv2_fixing_makefile.patch808-igepv2_fixing_makefile.patch
909-overo-Fix-bug-in-prcm_init.patch

Subscribers

People subscribed via source and target branches

to all changes: