summary refs log tree commit diff
path: root/arch/arm/mach-omap2/common.c
diff options
context:
space:
mode:
authorR Sricharan <r.sricharan@ti.com>2012-05-07 23:55:22 -0600
committerPaul Walmsley <paul@pwsan.com>2012-05-07 23:55:22 -0600
commit610eb8c218ef214594295776275855640d37ab2a (patch)
tree861e9a1c103cd40e1cd5321be5c7e4dc033eac2c /arch/arm/mach-omap2/common.c
parent444b3df6b387e6dd55cd9dbc8924e111792d2c42 (diff)
downloadlinux-610eb8c218ef214594295776275855640d37ab2a.tar.gz
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.c')
-rw-r--r--arch/arm/mach-omap2/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.c b/arch/arm/mach-omap2/common.c
index 1549c11000d3..8a6953a34fe2 100644
--- a/arch/arm/mach-omap2/common.c
+++ b/arch/arm/mach-omap2/common.c
@@ -166,6 +166,7 @@ static struct omap_globals omap4_globals = {
 	.prm	= OMAP2_L4_IO_ADDRESS(OMAP4430_PRM_BASE),
 	.cm	= OMAP2_L4_IO_ADDRESS(OMAP4430_CM_BASE),
 	.cm2	= OMAP2_L4_IO_ADDRESS(OMAP4430_CM2_BASE),
+	.prcm_mpu	= OMAP2_L4_IO_ADDRESS(OMAP4430_PRCM_MPU_BASE),
 };
 
 void __init omap2_set_globals_443x(void)