diff options
author | Rajendra Nayak <rnayak@ti.com> | 2009-12-08 20:24:49 -0500 |
---|---|---|
committer | paul <paul@twilight.(none)> | 2009-12-11 19:00:44 -0500 |
commit | 9ef89150ea118fabc1b93f6891ba58417e4260ff (patch) | |
tree | 893e33f9c4cc426966452f6b5ce598874e3280de /arch/arm/mach-omap2/prcm.c | |
parent | 0d93d8bb7f52190d76e9dba7f4561aabefaff34a (diff) |
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.c | 2 |
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 @@ | |||
34 | 34 | ||
35 | static void __iomem *prm_base; | 35 | static void __iomem *prm_base; |
36 | static void __iomem *cm_base; | 36 | static void __iomem *cm_base; |
37 | static void __iomem *cm2_base; | ||
37 | 38 | ||
38 | #define MAX_MODULE_ENABLE_WAIT 100000 | 39 | #define MAX_MODULE_ENABLE_WAIT 100000 |
39 | 40 | ||
@@ -258,6 +259,7 @@ void __init omap2_set_globals_prcm(struct omap_globals *omap2_globals) | |||
258 | { | 259 | { |
259 | prm_base = omap2_globals->prm; | 260 | prm_base = omap2_globals->prm; |
260 | cm_base = omap2_globals->cm; | 261 | cm_base = omap2_globals->cm; |
262 | cm2_base = omap2_globals->cm2; | ||
261 | } | 263 | } |
262 | 264 | ||
263 | #ifdef CONFIG_ARCH_OMAP3 | 265 | #ifdef CONFIG_ARCH_OMAP3 |