Skip to content

Commit

Permalink
ARM: S3C24XX: move S3C24XX clock Kconfig options to Samsung clock Kco…
Browse files Browse the repository at this point in the history
…nfig file

This patch moves S3C24XX specific clock Kconfig options into
"clk/samsung/Kconfig" and also removes COMMON_CLK selection from
"mach-s3c24xx/Kconfig" as S3C24XX_COMMON_CLK is selecting it's dependency.

CC: Ben Dooks <ben-linux@fluff.org>
CC: Kukjin Kim <kgene.kim@samsung.com>
CC: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
  • Loading branch information
Pankaj Dubey authored and Tomasz Figa committed May 14, 2014
1 parent ccecba3 commit 1f4f2cf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 27 deletions.
27 changes: 0 additions & 27 deletions arch/arm/mach-s3c24xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,7 @@ config PLAT_S3C24XX
help
Base platform code for any Samsung S3C24XX device

config S3C2410_COMMON_CLK
bool
help
Build the s3c2410 clock driver based on the common clock framework.

config S3C2410_COMMON_DCLK
bool
select REGMAP_MMIO
help
Temporary symbol to build the dclk driver based on the common clock
framework.

menu "SAMSUNG S3C24XX SoCs Support"

Expand All @@ -37,7 +27,6 @@ comment "S3C24XX SoCs"
config CPU_S3C2410
bool "SAMSUNG S3C2410"
default y
select COMMON_CLK
select CPU_ARM920T
select CPU_LLSERIAL_S3C2410
select S3C2410_COMMON_CLK
Expand All @@ -51,7 +40,6 @@ config CPU_S3C2410

config CPU_S3C2412
bool "SAMSUNG S3C2412"
select COMMON_CLK
select CPU_ARM926T
select CPU_LLSERIAL_S3C2440
select S3C2412_COMMON_CLK
Expand All @@ -62,7 +50,6 @@ config CPU_S3C2412

config CPU_S3C2416
bool "SAMSUNG S3C2416/S3C2450"
select COMMON_CLK
select CPU_ARM926T
select CPU_LLSERIAL_S3C2440
select S3C2416_PM if PM
Expand All @@ -73,7 +60,6 @@ config CPU_S3C2416

config CPU_S3C2440
bool "SAMSUNG S3C2440"
select COMMON_CLK
select CPU_ARM920T
select CPU_LLSERIAL_S3C2440
select S3C2410_COMMON_CLK
Expand All @@ -84,7 +70,6 @@ config CPU_S3C2440

config CPU_S3C2442
bool "SAMSUNG S3C2442"
select COMMON_CLK
select CPU_ARM920T
select CPU_LLSERIAL_S3C2440
select S3C2410_COMMON_CLK
Expand All @@ -100,7 +85,6 @@ config CPU_S3C244X

config CPU_S3C2443
bool "SAMSUNG S3C2443"
select COMMON_CLK
select CPU_ARM920T
select CPU_LLSERIAL_S3C2440
select S3C2443_COMMON_CLK
Expand Down Expand Up @@ -365,11 +349,6 @@ config S3C2412_PM_SLEEP

if CPU_S3C2412

config S3C2412_COMMON_CLK
bool
help
Build the s3c2412 clock driver based on the common clock framework.

config CPU_S3C2412_ONLY
bool
depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
Expand Down Expand Up @@ -652,12 +631,6 @@ endif # CPU_S3C2442

if CPU_S3C2443 || CPU_S3C2416

config S3C2443_COMMON_CLK
bool
help
Temporary symbol to build the clock driver based on the common clock
framework.

config S3C2443_DMA
bool
help
Expand Down
23 changes: 23 additions & 0 deletions drivers/clk/samsung/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
config COMMON_CLK_SAMSUNG
bool
select COMMON_CLK

config S3C2410_COMMON_CLK
bool
select COMMON_CLK_SAMSUNG
help
Build the s3c2410 clock driver based on the common clock framework.

config S3C2410_COMMON_DCLK
bool
select COMMON_CLK_SAMSUNG
select REGMAP_MMIO
help
Temporary symbol to build the dclk driver based on the common clock
framework.

config S3C2412_COMMON_CLK
bool
select COMMON_CLK_SAMSUNG

config S3C2443_COMMON_CLK
bool
select COMMON_CLK_SAMSUNG

0 comments on commit 1f4f2cf

Please sign in to comment.