diff options
| -rw-r--r-- | arch/arm/mach-s3c2440/Kconfig | 8 | ||||
| -rw-r--r-- | arch/arm/mach-s3c2440/Makefile | 2 | ||||
| -rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 8 | ||||
| -rw-r--r-- | arch/arm/mach-s3c24xx/Makefile | 1 | ||||
| -rw-r--r-- | arch/arm/mach-s3c24xx/cpufreq-s3c2440.c (renamed from arch/arm/mach-s3c2440/s3c2440-cpufreq.c) | 4 |
5 files changed, 10 insertions, 13 deletions
diff --git a/arch/arm/mach-s3c2440/Kconfig b/arch/arm/mach-s3c2440/Kconfig index a4d7fd27bec5..ad06fa2eb9df 100644 --- a/arch/arm/mach-s3c2440/Kconfig +++ b/arch/arm/mach-s3c2440/Kconfig | |||
| @@ -2,14 +2,6 @@ | |||
| 2 | # | 2 | # |
| 3 | # Licensed under GPLv2 | 3 | # Licensed under GPLv2 |
| 4 | 4 | ||
| 5 | config S3C2440_CPUFREQ | ||
| 6 | bool "S3C2440/S3C2442 CPU Frequency scaling support" | ||
| 7 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442) | ||
| 8 | default y | ||
| 9 | select S3C2410_CPUFREQ_UTILS | ||
| 10 | help | ||
| 11 | CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs. | ||
| 12 | |||
| 13 | config S3C2440_XTAL_12000000 | 5 | config S3C2440_XTAL_12000000 |
| 14 | bool | 6 | bool |
| 15 | help | 7 | help |
diff --git a/arch/arm/mach-s3c2440/Makefile b/arch/arm/mach-s3c2440/Makefile index 0ddd17fa067e..d76e4b99e732 100644 --- a/arch/arm/mach-s3c2440/Makefile +++ b/arch/arm/mach-s3c2440/Makefile | |||
| @@ -9,7 +9,5 @@ obj-m := | |||
| 9 | obj-n := | 9 | obj-n := |
| 10 | obj- := | 10 | obj- := |
| 11 | 11 | ||
| 12 | obj-$(CONFIG_S3C2440_CPUFREQ) += s3c2440-cpufreq.o | ||
| 13 | |||
| 14 | obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o | 12 | obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o |
| 15 | obj-$(CONFIG_S3C2440_PLL_16934400) += s3c2440-pll-16934400.o | 13 | obj-$(CONFIG_S3C2440_PLL_16934400) += s3c2440-pll-16934400.o |
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index f1d3951fc102..edf6549391b7 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
| @@ -387,6 +387,14 @@ endif # CPU_S3C2416 | |||
| 387 | 387 | ||
| 388 | if CPU_S3C2440 | 388 | if CPU_S3C2440 |
| 389 | 389 | ||
| 390 | config S3C2440_CPUFREQ | ||
| 391 | bool "S3C2440/S3C2442 CPU Frequency scaling support" | ||
| 392 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442) | ||
| 393 | default y | ||
| 394 | select S3C2410_CPUFREQ_UTILS | ||
| 395 | help | ||
| 396 | CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs. | ||
| 397 | |||
| 390 | config S3C2440_DMA | 398 | config S3C2440_DMA |
| 391 | bool | 399 | bool |
| 392 | help | 400 | help |
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile index 0f042d180fb8..6d4b9addc9c2 100644 --- a/arch/arm/mach-s3c24xx/Makefile +++ b/arch/arm/mach-s3c24xx/Makefile | |||
| @@ -34,6 +34,7 @@ obj-$(CONFIG_S3C2416_PM) += pm-s3c2416.o | |||
| 34 | obj-$(CONFIG_CPU_S3C2440) += s3c2440.o irq-s3c2440.o clock-s3c2440.o | 34 | obj-$(CONFIG_CPU_S3C2440) += s3c2440.o irq-s3c2440.o clock-s3c2440.o |
| 35 | obj-$(CONFIG_CPU_S3C2442) += s3c2442.o | 35 | obj-$(CONFIG_CPU_S3C2442) += s3c2442.o |
| 36 | obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o | 36 | obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o |
| 37 | obj-$(CONFIG_S3C2440_CPUFREQ) += cpufreq-s3c2440.o | ||
| 37 | obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o | 38 | obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o |
| 38 | 39 | ||
| 39 | obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o | 40 | obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o |
diff --git a/arch/arm/mach-s3c2440/s3c2440-cpufreq.c b/arch/arm/mach-s3c24xx/cpufreq-s3c2440.c index 61776764d9f4..72b2cc8a5a85 100644 --- a/arch/arm/mach-s3c2440/s3c2440-cpufreq.c +++ b/arch/arm/mach-s3c24xx/cpufreq-s3c2440.c | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | /* linux/arch/arm/plat-s3c24xx/s3c2440-cpufreq.c | 1 | /* |
| 2 | * | ||
| 3 | * Copyright (c) 2006-2009 Simtec Electronics | 2 | * Copyright (c) 2006-2009 Simtec Electronics |
| 4 | * http://armlinux.simtec.co.uk/ | 3 | * http://armlinux.simtec.co.uk/ |
| 5 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
| @@ -310,5 +309,4 @@ static int s3c2442_cpufreq_init(void) | |||
| 310 | { | 309 | { |
| 311 | return subsys_interface_register(&s3c2442_cpufreq_interface); | 310 | return subsys_interface_register(&s3c2442_cpufreq_interface); |
| 312 | } | 311 | } |
| 313 | |||
| 314 | subsys_initcall(s3c2442_cpufreq_init); | 312 | subsys_initcall(s3c2442_cpufreq_init); |
