]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: davinci: remove CONFIG_DAVINCI_RESET_CLOCKS
authorDavid Lechner <david@lechnology.com>
Fri, 18 May 2018 16:48:15 +0000 (11:48 -0500)
committerSekhar Nori <nsekhar@ti.com>
Tue, 26 Jun 2018 10:22:07 +0000 (15:52 +0530)
The common clock framework will take care of disabling unused clocks when
we switch from the legacy davinci clocks and having this enabled will
cause compile errors after we switch, so remove it now.

Signed-off-by: David Lechner <david@lechnology.com>
Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/Kconfig
arch/arm/mach-davinci/common.c
arch/arm/mach-davinci/include/mach/common.h

index 05c3eecf47cb8364ae6a25f2c53c37dc8803f2fa..ba9912b4dfabc670fdde9b5eeb58d8d99b08c4f4 100644 (file)
@@ -231,18 +231,6 @@ config DAVINCI_MUX_WARNINGS
          to change the pin multiplexing setup. When there are no warnings
          printed, it's safe to deselect DAVINCI_MUX for your product.
 
-config DAVINCI_RESET_CLOCKS
-       bool "Reset unused clocks during boot"
-       depends on ARCH_DAVINCI
-       help
-         Say Y if you want to reset unused clocks during boot.
-         This option saves power, but assumes all drivers are
-         using the clock framework. Broken drivers that do not
-         yet use clock framework may not work with this option.
-         If you are booting from another operating system, you
-         probably do not want this option enabled until your
-         device drivers work properly.
-
 endmenu
 
 endif
index bcb6a7ba84e9ee4640d1b31e51f734354dff2378..e03f95ccd95cc49568f462fe54afc54cd0e863e0 100644 (file)
@@ -118,5 +118,4 @@ void __init davinci_common_init(const struct davinci_soc_info *soc_info)
 void __init davinci_init_late(void)
 {
        davinci_cpufreq_init();
-       davinci_clk_disable_unused();
 }
index 5f45d0ac66a83fc39d6e22544f0e4566a6dcd72e..ded8f5f42725b02cea9afb9718e7c85f22f0678a 100644 (file)
@@ -83,12 +83,6 @@ extern void davinci_common_init(const struct davinci_soc_info *soc_info);
 extern void davinci_init_ide(void);
 void davinci_init_late(void);
 
-#ifdef CONFIG_DAVINCI_RESET_CLOCKS
-int davinci_clk_disable_unused(void);
-#else
-static inline int davinci_clk_disable_unused(void) { return 0; }
-#endif
-
 #ifdef CONFIG_CPU_FREQ
 int davinci_cpufreq_init(void);
 #else