diff options
author | R Sricharan <r.sricharan@ti.com> | 2012-05-08 01:55:22 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-05-08 01:55:22 -0400 |
commit | 610eb8c218ef214594295776275855640d37ab2a (patch) | |
tree | 861e9a1c103cd40e1cd5321be5c7e4dc033eac2c /arch/arm/mach-omap2/common.h | |
parent | 444b3df6b387e6dd55cd9dbc8924e111792d2c42 (diff) |
ARM: OMAP4+: Add prm and cm base init function.
Instead of statically defining seperate arrays for every OMAP4+ archs,
have a generic init function to populate the arrays. This avoids the
need for creating new array for every arch added in the future that
reuses the prm and cm registers read/write code.
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r-- | arch/arm/mach-omap2/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index 57da7f406e28..0672fc54b30f 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
@@ -111,6 +111,7 @@ struct omap_globals { | |||
111 | void __iomem *prm; /* Power and Reset Management */ | 111 | void __iomem *prm; /* Power and Reset Management */ |
112 | void __iomem *cm; /* Clock Management */ | 112 | void __iomem *cm; /* Clock Management */ |
113 | void __iomem *cm2; | 113 | void __iomem *cm2; |
114 | void __iomem *prcm_mpu; | ||
114 | }; | 115 | }; |
115 | 116 | ||
116 | void omap2_set_globals_242x(void); | 117 | void omap2_set_globals_242x(void); |