summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/cm_common.c
diff options
context:
space:
mode:
authorDario Binacchi <dariobin@libero.it>2021-04-25 17:22:08 +0300
committerTony Lindgren <tony@atomide.com>2021-05-21 12:27:59 +0300
commitac189a7a999bf99c798a588e93fc8116773e6c80 (patch)
treee55443f1ccc63d0b6c120c16ae19bebb67a25d17 /arch/arm/mach-omap2/cm_common.c
parent68f6941a6aec145c79d4e663eb4411514d83fc5a (diff)
downloadlinux-ac189a7a999bf99c798a588e93fc8116773e6c80.tar.xz
ARM: OMAP2+: CM: remove omap2_set_globals_cm()
The function is no longer used, so let's remove it. Signed-off-by: Dario Binacchi <dariobin@libero.it> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm_common.c')
-rw-r--r--arch/arm/mach-omap2/cm_common.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-omap2/cm_common.c b/arch/arm/mach-omap2/cm_common.c
index b7ea609386d5..e2d069fe67f1 100644
--- a/arch/arm/mach-omap2/cm_common.c
+++ b/arch/arm/mach-omap2/cm_common.c
@@ -38,19 +38,6 @@ struct omap_domain_base cm2_base;
#define CM_SINGLE_INSTANCE 0x2
/**
- * omap2_set_globals_cm - set the CM/CM2 base addresses (for early use)
- * @cm: CM base virtual address
- * @cm2: CM2 base virtual address (if present on the booted SoC)
- *
- * XXX Will be replaced when the PRM/CM drivers are completed.
- */
-void __init omap2_set_globals_cm(void __iomem *cm, void __iomem *cm2)
-{
- cm_base.va = cm;
- cm2_base.va = cm2;
-}
-
-/**
* cm_split_idlest_reg - split CM_IDLEST reg addr into its components
* @idlest_reg: CM_IDLEST* virtual address
* @prcm_inst: pointer to an s16 to return the PRCM instance offset