diff options
author | Tero Kristo <t-kristo@ti.com> | 2017-05-31 17:00:00 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-06-06 09:13:51 +0200 |
commit | 90129336712c3c8dcd0d81a5dfaea52dd8391e62 (patch) | |
tree | 21e3fd1f2c4ab3ad14dc201f865a76c58b0c6c3a /arch/arm/mach-omap2/cm.h | |
parent | ARM: OMAP4: hwmod_data: add opt clks for dss_hdmi and dss_venc (diff) | |
download | linux-90129336712c3c8dcd0d81a5dfaea52dd8391e62.tar.xz 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/cm.h')
-rw-r--r-- | arch/arm/mach-omap2/cm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/cm.h b/arch/arm/mach-omap2/cm.h index de75cbcdc9d1..e833984cc85e 100644 --- a/arch/arm/mach-omap2/cm.h +++ b/arch/arm/mach-omap2/cm.h @@ -24,8 +24,11 @@ # ifndef __ASSEMBLER__ #include <linux/clk/ti.h> -extern void __iomem *cm_base; -extern void __iomem *cm2_base; + +#include "prcm-common.h" + +extern struct omap_domain_base cm_base; +extern struct omap_domain_base cm2_base; extern void omap2_set_globals_cm(void __iomem *cm, void __iomem *cm2); # endif |