summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/prcm.c
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2009-12-09 02:24:49 +0100
committerpaul <paul@twilight.(none)>2009-12-12 01:00:44 +0100
commit9ef89150ea118fabc1b93f6891ba58417e4260ff (patch)
tree893e33f9c4cc426966452f6b5ce598874e3280de /arch/arm/mach-omap2/prcm.c
parentOMAP: omap_device: track latency in nanoseconds (diff)
downloadlinux-9ef89150ea118fabc1b93f6891ba58417e4260ff.tar.xz
linux-9ef89150ea118fabc1b93f6891ba58417e4260ff.zip
ARM: OMAP4: PM: Fix the PRM and CM base addresses
This patch fixes the PRM and CM base addresses and adds a new CM2 base address for OMAP4 Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Benoit Cousson <b-cousson@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prcm.c')
-rw-r--r--arch/arm/mach-omap2/prcm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c
index 79637c2eaf64..3ea8177ffb25 100644
--- a/arch/arm/mach-omap2/prcm.c
+++ b/arch/arm/mach-omap2/prcm.c
@@ -34,6 +34,7 @@
static void __iomem *prm_base;
static void __iomem *cm_base;
+static void __iomem *cm2_base;
#define MAX_MODULE_ENABLE_WAIT 100000
@@ -258,6 +259,7 @@ void __init omap2_set_globals_prcm(struct omap_globals *omap2_globals)
{
prm_base = omap2_globals->prm;
cm_base = omap2_globals->cm;
+ cm2_base = omap2_globals->cm2;
}
#ifdef CONFIG_ARCH_OMAP3