diff options
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 4 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/common.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index abf9179c9d03..f10af7faec98 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
@@ -25,6 +25,7 @@ comment "S3C24XX SoCs" | |||
25 | config CPU_S3C2410 | 25 | config CPU_S3C2410 |
26 | bool "SAMSUNG S3C2410" | 26 | bool "SAMSUNG S3C2410" |
27 | default y | 27 | default y |
28 | depends on SAMSUNG_CLOCK | ||
28 | select CPU_ARM920T | 29 | select CPU_ARM920T |
29 | select CPU_LLSERIAL_S3C2410 | 30 | select CPU_LLSERIAL_S3C2410 |
30 | select S3C2410_CLOCK | 31 | select S3C2410_CLOCK |
@@ -38,6 +39,7 @@ config CPU_S3C2410 | |||
38 | 39 | ||
39 | config CPU_S3C2412 | 40 | config CPU_S3C2412 |
40 | bool "SAMSUNG S3C2412" | 41 | bool "SAMSUNG S3C2412" |
42 | depends on SAMSUNG_CLOCK | ||
41 | select CPU_ARM926T | 43 | select CPU_ARM926T |
42 | select CPU_LLSERIAL_S3C2440 | 44 | select CPU_LLSERIAL_S3C2440 |
43 | select S3C2412_DMA if S3C24XX_DMA | 45 | select S3C2412_DMA if S3C24XX_DMA |
@@ -58,6 +60,7 @@ config CPU_S3C2416 | |||
58 | 60 | ||
59 | config CPU_S3C2440 | 61 | config CPU_S3C2440 |
60 | bool "SAMSUNG S3C2440" | 62 | bool "SAMSUNG S3C2440" |
63 | depends on SAMSUNG_CLOCK | ||
61 | select CPU_ARM920T | 64 | select CPU_ARM920T |
62 | select CPU_LLSERIAL_S3C2440 | 65 | select CPU_LLSERIAL_S3C2440 |
63 | select S3C2410_CLOCK | 66 | select S3C2410_CLOCK |
@@ -68,6 +71,7 @@ config CPU_S3C2440 | |||
68 | 71 | ||
69 | config CPU_S3C2442 | 72 | config CPU_S3C2442 |
70 | bool "SAMSUNG S3C2442" | 73 | bool "SAMSUNG S3C2442" |
74 | depends on SAMSUNG_CLOCK | ||
71 | select CPU_ARM920T | 75 | select CPU_ARM920T |
72 | select CPU_LLSERIAL_S3C2440 | 76 | select CPU_LLSERIAL_S3C2440 |
73 | select S3C2410_CLOCK | 77 | select S3C2410_CLOCK |
diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c index 1bc8e73c94f9..0fc6641ac57d 100644 --- a/arch/arm/mach-s3c24xx/common.c +++ b/arch/arm/mach-s3c24xx/common.c | |||
@@ -318,6 +318,7 @@ struct s3c24xx_uart_resources s3c2410_uart_resources[] __initdata = { | |||
318 | 318 | ||
319 | /* initialise all the clocks */ | 319 | /* initialise all the clocks */ |
320 | 320 | ||
321 | #ifdef CONFIG_SAMSUNG_CLOCK | ||
321 | void __init_or_cpufreq s3c24xx_setup_clocks(unsigned long fclk, | 322 | void __init_or_cpufreq s3c24xx_setup_clocks(unsigned long fclk, |
322 | unsigned long hclk, | 323 | unsigned long hclk, |
323 | unsigned long pclk) | 324 | unsigned long pclk) |
@@ -330,6 +331,7 @@ void __init_or_cpufreq s3c24xx_setup_clocks(unsigned long fclk, | |||
330 | clk_p.rate = pclk; | 331 | clk_p.rate = pclk; |
331 | clk_f.rate = fclk; | 332 | clk_f.rate = fclk; |
332 | } | 333 | } |
334 | #endif | ||
333 | 335 | ||
334 | #if defined(CONFIG_CPU_S3C2410) || defined(CONFIG_CPU_S3C2412) || \ | 336 | #if defined(CONFIG_CPU_S3C2410) || defined(CONFIG_CPU_S3C2412) || \ |
335 | defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442) | 337 | defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442) |