From 8c3d7c30c306d83ff9c303f42307765a5a7bc254 Mon Sep 17 00:00:00 2001 From: Heiko Stuebner Date: Sat, 3 Mar 2012 07:49:12 +0900 Subject: ARM: S3C24XX: Move s3c2443-clock.c to mach-s3c24xx S3C-SoCs starting with the S3C2443 can share a lot of functionality. The file can collect more common code of these SocS later on and therefore gets a new name to reflect this future purpose. Signed-off-by: Heiko Stuebner Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c24xx/Kconfig | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'arch/arm/mach-s3c24xx/Kconfig') diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 44b2a3212d29..48af6fcb8acd 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig @@ -41,7 +41,7 @@ config CPU_S3C2416 select CPU_ARM926T select CPU_LLSERIAL_S3C2440 select SAMSUNG_CLKSRC - select S3C2443_CLOCK + select S3C2443_COMMON select S3C2416_DMA if S3C24XX_DMA select S3C2416_PM if PM help @@ -76,7 +76,7 @@ config CPU_S3C2443 select CPU_ARM920T select CPU_LLSERIAL_S3C2440 select SAMSUNG_CLKSRC - select S3C2443_CLOCK + select S3C2443_COMMON select S3C2443_DMA if S3C24XX_DMA help Support for the S3C2443 SoC from the S3C24XX line @@ -471,6 +471,16 @@ config SMDK2440_CPU2442 endif # CPU_S3C2440 +if CPU_S3C2443 || CPU_S3C2416 + +config S3C2443_COMMON + bool + help + Common code for the S3C2443 and similar processors, which includes + the S3C2416 and S3C2450. + +endif # CPU_S3C2443 || CPU_S3C2416 + if CPU_S3C2443 config S3C2443_DMA -- cgit v1.2.3