提交 59a2e613 编写于 作者: V Viresh Kumar 提交者: Rafael J. Wysocki

cpufreq: sa11x0: move cpufreq driver to drivers/cpufreq

This patch moves cpufreq driver of ARM based sa11x0 platform to drivers/cpufreq.
Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 b7e614c8
...@@ -2150,7 +2150,6 @@ endmenu ...@@ -2150,7 +2150,6 @@ endmenu
menu "CPU Power Management" menu "CPU Power Management"
if ARCH_HAS_CPUFREQ if ARCH_HAS_CPUFREQ
source "drivers/cpufreq/Kconfig" source "drivers/cpufreq/Kconfig"
config CPU_FREQ_IMX config CPU_FREQ_IMX
...@@ -2160,12 +2159,6 @@ config CPU_FREQ_IMX ...@@ -2160,12 +2159,6 @@ config CPU_FREQ_IMX
help help
This enables the CPUfreq driver for i.MX CPUs. This enables the CPUfreq driver for i.MX CPUs.
config CPU_FREQ_SA1100
bool
config CPU_FREQ_SA1110
bool
config CPU_FREQ_S3C config CPU_FREQ_S3C
bool bool
help help
......
...@@ -4,7 +4,7 @@ menu "SA11x0 Implementations" ...@@ -4,7 +4,7 @@ menu "SA11x0 Implementations"
config SA1100_ASSABET config SA1100_ASSABET
bool "Assabet" bool "Assabet"
select CPU_FREQ_SA1110 select ARM_SA1110_CPUFREQ
help help
Say Y here if you are using the Intel(R) StrongARM(R) SA-1110 Say Y here if you are using the Intel(R) StrongARM(R) SA-1110
Microprocessor Development Board (also known as the Assabet). Microprocessor Development Board (also known as the Assabet).
...@@ -20,7 +20,7 @@ config ASSABET_NEPONSET ...@@ -20,7 +20,7 @@ config ASSABET_NEPONSET
config SA1100_CERF config SA1100_CERF
bool "CerfBoard" bool "CerfBoard"
select CPU_FREQ_SA1110 select ARM_SA1110_CPUFREQ
help help
The Intrinsyc CerfBoard is based on the StrongARM 1110 (Discontinued). The Intrinsyc CerfBoard is based on the StrongARM 1110 (Discontinued).
More information is available at: More information is available at:
...@@ -47,7 +47,7 @@ endchoice ...@@ -47,7 +47,7 @@ endchoice
config SA1100_COLLIE config SA1100_COLLIE
bool "Sharp Zaurus SL5500" bool "Sharp Zaurus SL5500"
# FIXME: select CPU_FREQ_SA11x0 # FIXME: select ARM_SA11x0_CPUFREQ
select SHARP_LOCOMO select SHARP_LOCOMO
select SHARP_PARAM select SHARP_PARAM
select SHARP_SCOOP select SHARP_SCOOP
...@@ -56,7 +56,7 @@ config SA1100_COLLIE ...@@ -56,7 +56,7 @@ config SA1100_COLLIE
config SA1100_H3100 config SA1100_H3100
bool "Compaq iPAQ H3100" bool "Compaq iPAQ H3100"
select CPU_FREQ_SA1110 select ARM_SA1110_CPUFREQ
select HTC_EGPIO select HTC_EGPIO
help help
Say Y here if you intend to run this kernel on the Compaq iPAQ Say Y here if you intend to run this kernel on the Compaq iPAQ
...@@ -67,7 +67,7 @@ config SA1100_H3100 ...@@ -67,7 +67,7 @@ config SA1100_H3100
config SA1100_H3600 config SA1100_H3600
bool "Compaq iPAQ H3600/H3700" bool "Compaq iPAQ H3600/H3700"
select CPU_FREQ_SA1110 select ARM_SA1110_CPUFREQ
select HTC_EGPIO select HTC_EGPIO
help help
Say Y here if you intend to run this kernel on the Compaq iPAQ Say Y here if you intend to run this kernel on the Compaq iPAQ
...@@ -78,7 +78,7 @@ config SA1100_H3600 ...@@ -78,7 +78,7 @@ config SA1100_H3600
config SA1100_BADGE4 config SA1100_BADGE4
bool "HP Labs BadgePAD 4" bool "HP Labs BadgePAD 4"
select CPU_FREQ_SA1100 select ARM_SA1100_CPUFREQ
select SA1111 select SA1111
help help
Say Y here if you want to build a kernel for the HP Laboratories Say Y here if you want to build a kernel for the HP Laboratories
...@@ -86,7 +86,7 @@ config SA1100_BADGE4 ...@@ -86,7 +86,7 @@ config SA1100_BADGE4
config SA1100_JORNADA720 config SA1100_JORNADA720
bool "HP Jornada 720" bool "HP Jornada 720"
# FIXME: select CPU_FREQ_SA11x0 # FIXME: select ARM_SA11x0_CPUFREQ
select SA1111 select SA1111
help help
Say Y here if you want to build a kernel for the HP Jornada 720 Say Y here if you want to build a kernel for the HP Jornada 720
...@@ -105,14 +105,14 @@ config SA1100_JORNADA720_SSP ...@@ -105,14 +105,14 @@ config SA1100_JORNADA720_SSP
config SA1100_HACKKIT config SA1100_HACKKIT
bool "HackKit Core CPU Board" bool "HackKit Core CPU Board"
select CPU_FREQ_SA1100 select ARM_SA1100_CPUFREQ
help help
Say Y here to support the HackKit Core CPU Board Say Y here to support the HackKit Core CPU Board
<http://hackkit.eletztrick.de>; <http://hackkit.eletztrick.de>;
config SA1100_LART config SA1100_LART
bool "LART" bool "LART"
select CPU_FREQ_SA1100 select ARM_SA1100_CPUFREQ
help help
Say Y here if you are using the Linux Advanced Radio Terminal Say Y here if you are using the Linux Advanced Radio Terminal
(also known as the LART). See <http://www.lartmaker.nl/> for (also known as the LART). See <http://www.lartmaker.nl/> for
...@@ -120,7 +120,7 @@ config SA1100_LART ...@@ -120,7 +120,7 @@ config SA1100_LART
config SA1100_NANOENGINE config SA1100_NANOENGINE
bool "nanoEngine" bool "nanoEngine"
select CPU_FREQ_SA1110 select ARM_SA1110_CPUFREQ
select PCI select PCI
select PCI_NANOENGINE select PCI_NANOENGINE
help help
...@@ -130,7 +130,7 @@ config SA1100_NANOENGINE ...@@ -130,7 +130,7 @@ config SA1100_NANOENGINE
config SA1100_PLEB config SA1100_PLEB
bool "PLEB" bool "PLEB"
select CPU_FREQ_SA1100 select ARM_SA1100_CPUFREQ
help help
Say Y here if you are using version 1 of the Portable Linux Say Y here if you are using version 1 of the Portable Linux
Embedded Board (also known as PLEB). Embedded Board (also known as PLEB).
...@@ -139,7 +139,7 @@ config SA1100_PLEB ...@@ -139,7 +139,7 @@ config SA1100_PLEB
config SA1100_SHANNON config SA1100_SHANNON
bool "Shannon" bool "Shannon"
select CPU_FREQ_SA1100 select ARM_SA1100_CPUFREQ
help help
The Shannon (also known as a Tuxscreen, and also as a IS2630) was a The Shannon (also known as a Tuxscreen, and also as a IS2630) was a
limited edition webphone produced by Philips. The Shannon is a SA1100 limited edition webphone produced by Philips. The Shannon is a SA1100
...@@ -148,7 +148,7 @@ config SA1100_SHANNON ...@@ -148,7 +148,7 @@ config SA1100_SHANNON
config SA1100_SIMPAD config SA1100_SIMPAD
bool "Simpad" bool "Simpad"
select CPU_FREQ_SA1110 select ARM_SA1110_CPUFREQ
help help
The SIEMENS webpad SIMpad is based on the StrongARM 1110. There The SIEMENS webpad SIMpad is based on the StrongARM 1110. There
are two different versions CL4 and SL4. CL4 has 32MB RAM and 16MB are two different versions CL4 and SL4. CL4 has 32MB RAM and 16MB
......
...@@ -8,9 +8,6 @@ obj-m := ...@@ -8,9 +8,6 @@ obj-m :=
obj-n := obj-n :=
obj- := obj- :=
obj-$(CONFIG_CPU_FREQ_SA1100) += cpu-sa1100.o
obj-$(CONFIG_CPU_FREQ_SA1110) += cpu-sa1110.o
# Specific board support # Specific board support
obj-$(CONFIG_SA1100_ASSABET) += assabet.o obj-$(CONFIG_SA1100_ASSABET) += assabet.o
obj-$(CONFIG_ASSABET_NEPONSET) += neponset.o obj-$(CONFIG_ASSABET_NEPONSET) += neponset.o
......
...@@ -127,6 +127,12 @@ config ARM_S5PV210_CPUFREQ ...@@ -127,6 +127,12 @@ config ARM_S5PV210_CPUFREQ
If in doubt, say N. If in doubt, say N.
config ARM_SA1100_CPUFREQ
bool
config ARM_SA1110_CPUFREQ
bool
config ARM_SPEAR_CPUFREQ config ARM_SPEAR_CPUFREQ
bool "SPEAr CPUFreq support" bool "SPEAr CPUFreq support"
depends on PLAT_SPEAR depends on PLAT_SPEAR
......
...@@ -66,6 +66,8 @@ obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o ...@@ -66,6 +66,8 @@ obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o
obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o
obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o
obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o
obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o
obj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o
obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o
obj-$(CONFIG_ARCH_TEGRA) += tegra-cpufreq.o obj-$(CONFIG_ARCH_TEGRA) += tegra-cpufreq.o
......
...@@ -91,10 +91,9 @@ ...@@ -91,10 +91,9 @@
#include <asm/cputype.h> #include <asm/cputype.h>
#include <mach/generic.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include "generic.h"
struct sa1100_dram_regs { struct sa1100_dram_regs {
int speed; int speed;
u32 mdcnfg; u32 mdcnfg;
......
...@@ -27,10 +27,9 @@ ...@@ -27,10 +27,9 @@
#include <asm/cputype.h> #include <asm/cputype.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/generic.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include "generic.h"
#undef DEBUG #undef DEBUG
struct sdram_params { struct sdram_params {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册