diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-30 03:57:39 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-08 23:09:26 +0100 |
commit | d9a16f9ab9332b7cf1c95086a4efb98a0d13a57a (patch) | |
tree | 3f15e84beccd384ac1c3d5f2d3260e164e422da8 /arch/arm/mach-omap2/prm.h | |
parent | ARM: OMAP2+: PRCM: remove omap2_cm_wait_idlest() (diff) | |
download | linux-d9a16f9ab9332b7cf1c95086a4efb98a0d13a57a.tar.xz linux-d9a16f9ab9332b7cf1c95086a4efb98a0d13a57a.zip |
ARM: OMAP2+: PRCM: split and relocate the PRM/CM globals setup
Split omap2_set_globals_prcm() into PRM, CM, and PRCM_MPU variants, since
these are all separate IP blocks. This should make it easier to move the
PRM, CM, PRCM_MPU code into drivers/ in future patchsets.
At this point arch/arm/plat-omap/include/plat/prcm.h is empty; a
subsequent patch will remove it, and remove the #include from all the
files that #include it.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm.h')
-rw-r--r-- | arch/arm/mach-omap2/prm.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/prm.h b/arch/arm/mach-omap2/prm.h index c30ab5de8d1d..fb7dee29ce76 100644 --- a/arch/arm/mach-omap2/prm.h +++ b/arch/arm/mach-omap2/prm.h @@ -1,7 +1,7 @@ /* * OMAP2/3/4 Power/Reset Management (PRM) bitfield definitions * - * Copyright (C) 2007-2009 Texas Instruments, Inc. + * Copyright (C) 2007-2009, 2012 Texas Instruments, Inc. * Copyright (C) 2010 Nokia Corporation * * Paul Walmsley @@ -15,6 +15,11 @@ #include "prcm-common.h" +# ifndef __ASSEMBLER__ +extern void __iomem *prm_base; +extern void omap2_set_globals_prm(void __iomem *prm); +# endif + /* * 24XX: PM_PWSTST_CORE, PM_PWSTST_GFX, PM_PWSTST_MPU, PM_PWSTST_DSP * |