diff options
author | Tero Kristo <t-kristo@ti.com> | 2017-05-31 18:00:00 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-06-06 00:13:51 -0700 |
commit | 90129336712c3c8dcd0d81a5dfaea52dd8391e62 (patch) | |
tree | 21e3fd1f2c4ab3ad14dc201f865a76c58b0c6c3a /arch/arm/mach-omap2/prcm_mpu44xx.c | |
parent | 24d8d498a8703462f0141f2fcdcd325de1ab2bb8 (diff) | |
download | linux-90129336712c3c8dcd0d81a5dfaea52dd8391e62.tar.gz linux-90129336712c3c8dcd0d81a5dfaea52dd8391e62.tar.bz2 linux-90129336712c3c8dcd0d81a5dfaea52dd8391e62.zip |
ARM: OMAP2+: PRCM: store also physical addresses for instances
In some cases the physical address info is needed, so store this
under the existing cm*_base, prm_base and prcm_mpu_base variables.
These are converted now to structs that contain both virtual and
physical address base for the instance.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/prcm_mpu44xx.c')
-rw-r--r-- | arch/arm/mach-omap2/prcm_mpu44xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/prcm_mpu44xx.c b/arch/arm/mach-omap2/prcm_mpu44xx.c index cdbee6326d29..9c782f5c3f94 100644 --- a/arch/arm/mach-omap2/prcm_mpu44xx.c +++ b/arch/arm/mach-omap2/prcm_mpu44xx.c @@ -24,7 +24,7 @@ * prcm_mpu_base: the virtual address of the start of the PRCM_MPU IP * block registers */ -void __iomem *prcm_mpu_base; +struct omap_domain_base prcm_mpu_base; /* PRCM_MPU low-level functions */ @@ -58,5 +58,5 @@ u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) */ void __init omap2_set_globals_prcm_mpu(void __iomem *prcm_mpu) { - prcm_mpu_base = prcm_mpu; + prcm_mpu_base.va = prcm_mpu; } |