[PATCH 2/4] ARM: omap: Remove wrong OMAP_CLOCK_ALL symbol

Alexander Shiyan shc_work at mail.ru
Sun Apr 28 00:27:27 EDT 2013


OMAP_CLOCK_ALL is missing in Kconfig, so remove the "select" statement
and all other references to this symbol.

Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/configs/phycard_a_l1_defconfig | 1 -
 arch/arm/mach-omap/Kconfig              | 2 --
 arch/arm/mach-omap/omap3_clock.c        | 6 ------
 3 files changed, 9 deletions(-)

diff --git a/arch/arm/configs/phycard_a_l1_defconfig b/arch/arm/configs/phycard_a_l1_defconfig
index d90a333..fabaa2d 100644
--- a/arch/arm/configs/phycard_a_l1_defconfig
+++ b/arch/arm/configs/phycard_a_l1_defconfig
@@ -7,7 +7,6 @@ CONFIG_CPU_V7=y
 CONFIG_CPU_32v7=y
 CONFIG_BOARDINFO="Phytec phyCARD-A-L1"
 CONFIG_ARCH_OMAP3=y
-CONFIG_OMAP_CLOCK_ALL=y
 CONFIG_OMAP_CLOCK_SOURCE_S32K=y
 CONFIG_OMAP3_CLOCK_CONFIG=y
 CONFIG_OMAP3_COPY_CLOCK_SRAM=n
diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
index 42e5f4a..0913d0e 100644
--- a/arch/arm/mach-omap/Kconfig
+++ b/arch/arm/mach-omap/Kconfig
@@ -134,7 +134,6 @@ config MACH_BEAGLE
 
 config MACH_BEAGLEBONE
 	bool "Texas Instrument's Beagle Bone"
-	select OMAP_CLOCK_ALL
 	depends on ARCH_AM33XX
 	  help
 	  Say Y here if you are using Beagle Bone
@@ -179,7 +178,6 @@ config MACH_PCAAXL2
 
 config MACH_PCM051
 	bool "Phytec phyCORE pcm051"
-	select OMAP_CLOCK_ALL
 	select HAVE_DEFAULT_ENVIRONMENT_NEW
 	depends on ARCH_AM33XX
 	help
diff --git a/arch/arm/mach-omap/omap3_clock.c b/arch/arm/mach-omap/omap3_clock.c
index bcde48f..03aca49 100644
--- a/arch/arm/mach-omap/omap3_clock.c
+++ b/arch/arm/mach-omap/omap3_clock.c
@@ -652,12 +652,6 @@ void prcm_init(void)
 /**
  * @brief Enable the clks & power for perifs
  *
- * GPT2 Sysclk, ICLK,FCLK, 32k Sync is enabled by default
- * Uses CONFIG_OMAP_CLOCK_UART to enable UART clocks
- * Uses CONFIG_OMAP_CLOCK_I2C to enable I2C clocks
- * Uses CONFIG_OMAP_CLOCK_ALL to enable All Clocks!
- *    - Not a wise idea in most cases
- *
  * @return void
  */
 static void per_clocks_enable(void)
-- 
1.8.1.5




More information about the barebox mailing list