]> Git Repo - linux.git/commitdiff
ARM: OMAP2+: CM: remove omap2_set_globals_cm()
authorDario Binacchi <[email protected]>
Sun, 25 Apr 2021 14:22:08 +0000 (16:22 +0200)
committerTony Lindgren <[email protected]>
Fri, 21 May 2021 09:27:59 +0000 (12:27 +0300)
The function is no longer used, so let's remove it.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
arch/arm/mach-omap2/cm.h
arch/arm/mach-omap2/cm_common.c

index d02fe63dab59b8e55a2f166baa1213f337954fcd..14beb59e5f7b9c1d79494e20a949a7baeec0cbc8 100644 (file)
@@ -26,7 +26,6 @@
 
 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
 
 /*
index b7ea609386d52dcf2e782006a581743f53814d53..e2d069fe67f1858fa7f974d1ce384e53e357cf9f 100644 (file)
@@ -37,19 +37,6 @@ struct omap_domain_base cm2_base;
 #define CM_NO_CLOCKS           0x1
 #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
This page took 0.06058 seconds and 4 git commands to generate.