mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
5eed1987e2
For arm S5pv210 with allmodconfig, ARM_S5PV210_CPUFREQ need CONFIG_CPU_FREQ_TABLE=y, or will cause compiling issue. The related operation: + arm-linux-gnu-ld -EL -p --no-undefined -X --build-id -X -o .tmp_vmlinux1 -T /root/linux-next/arch/arm/kernel/vmlinux.lds arch/arm/kernel/head.o init/built-in.o --start-group usr/built-in.o arch/arm/nwfpe/built-in.o arch/arm/vfp/built-in.o arch/arm/kernel/built-in.o arch/arm/mm/built-in.o arch/arm/common/built-in.o arch/arm/net/built-in.o arch/arm/crypto/built-in.o arch/arm/mach-s5pv210/built-in.o arch/arm/plat-samsung/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o arch/arm/lib/lib.a lib/lib.a arch/arm/lib/built-in.o lib/built-in.o drivers/built-in.o sound/built-in.o firmware/built-in.o net/built-in.o --end-group The related errors: drivers/built-in.o: In function `s5pv210_target': drivers/cpufreq/s5pv210-cpufreq.c:225: undefined reference to `cpufreq_frequency_table_target' drivers/cpufreq/s5pv210-cpufreq.c:237: undefined reference to `cpufreq_frequency_table_target' drivers/built-in.o: In function `s5pv210_verify_speed': drivers/cpufreq/s5pv210-cpufreq.c:182: undefined reference to `cpufreq_frequency_table_verify' drivers/built-in.o: In function `s5pv210_cpu_init': drivers/cpufreq/s5pv210-cpufreq.c:556: undefined reference to `cpufreq_frequency_table_get_attr' drivers/cpufreq/s5pv210-cpufreq.c:560: undefined reference to `cpufreq_frequency_table_cpuinfo' make: *** [vmlinux] Error 1 Signed-off-by: Chen Gang <gang.chen@asianux.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
152 lines
3.5 KiB
Plaintext
152 lines
3.5 KiB
Plaintext
#
|
|
# ARM CPU Frequency scaling drivers
|
|
#
|
|
|
|
config ARM_BIG_LITTLE_CPUFREQ
|
|
tristate
|
|
depends on ARM_CPU_TOPOLOGY
|
|
|
|
config ARM_DT_BL_CPUFREQ
|
|
tristate "Generic ARM big LITTLE CPUfreq driver probed via DT"
|
|
select ARM_BIG_LITTLE_CPUFREQ
|
|
depends on OF && HAVE_CLK
|
|
help
|
|
This enables the Generic CPUfreq driver for ARM big.LITTLE platform.
|
|
This gets frequency tables from DT.
|
|
|
|
config ARM_EXYNOS_CPUFREQ
|
|
bool "SAMSUNG EXYNOS SoCs"
|
|
depends on ARCH_EXYNOS
|
|
default y
|
|
help
|
|
This adds the CPUFreq driver common part for Samsung
|
|
EXYNOS SoCs.
|
|
|
|
If in doubt, say N.
|
|
|
|
config ARM_EXYNOS4210_CPUFREQ
|
|
def_bool CPU_EXYNOS4210
|
|
help
|
|
This adds the CPUFreq driver for Samsung EXYNOS4210
|
|
SoC (S5PV310 or S5PC210).
|
|
|
|
config ARM_EXYNOS4X12_CPUFREQ
|
|
def_bool (SOC_EXYNOS4212 || SOC_EXYNOS4412)
|
|
help
|
|
This adds the CPUFreq driver for Samsung EXYNOS4X12
|
|
SoC (EXYNOS4212 or EXYNOS4412).
|
|
|
|
config ARM_EXYNOS5250_CPUFREQ
|
|
def_bool SOC_EXYNOS5250
|
|
help
|
|
This adds the CPUFreq driver for Samsung EXYNOS5250
|
|
SoC.
|
|
|
|
config ARM_EXYNOS5440_CPUFREQ
|
|
def_bool SOC_EXYNOS5440
|
|
depends on HAVE_CLK && PM_OPP && OF
|
|
help
|
|
This adds the CPUFreq driver for Samsung EXYNOS5440
|
|
SoC. The nature of exynos5440 clock controller is
|
|
different than previous exynos controllers so not using
|
|
the common exynos framework.
|
|
|
|
config ARM_HIGHBANK_CPUFREQ
|
|
tristate "Calxeda Highbank-based"
|
|
depends on ARCH_HIGHBANK
|
|
select CPU_FREQ_TABLE
|
|
select GENERIC_CPUFREQ_CPU0
|
|
select PM_OPP
|
|
select REGULATOR
|
|
|
|
default m
|
|
help
|
|
This adds the CPUFreq driver for Calxeda Highbank SoC
|
|
based boards.
|
|
|
|
If in doubt, say N.
|
|
|
|
config ARM_IMX6Q_CPUFREQ
|
|
tristate "Freescale i.MX6Q cpufreq support"
|
|
depends on SOC_IMX6Q
|
|
depends on REGULATOR_ANATOP
|
|
help
|
|
This adds cpufreq driver support for Freescale i.MX6Q SOC.
|
|
|
|
If in doubt, say N.
|
|
|
|
config ARM_INTEGRATOR
|
|
tristate "CPUfreq driver for ARM Integrator CPUs"
|
|
depends on ARCH_INTEGRATOR
|
|
default y
|
|
help
|
|
This enables the CPUfreq driver for ARM Integrator CPUs.
|
|
If in doubt, say Y.
|
|
|
|
config ARM_KIRKWOOD_CPUFREQ
|
|
def_bool ARCH_KIRKWOOD && OF
|
|
help
|
|
This adds the CPUFreq driver for Marvell Kirkwood
|
|
SoCs.
|
|
|
|
config ARM_OMAP2PLUS_CPUFREQ
|
|
bool "TI OMAP2+"
|
|
depends on ARCH_OMAP2PLUS
|
|
default ARCH_OMAP2PLUS
|
|
select CPU_FREQ_TABLE
|
|
|
|
config ARM_S3C2416_CPUFREQ
|
|
bool "S3C2416 CPU Frequency scaling support"
|
|
depends on CPU_S3C2416
|
|
help
|
|
This adds the CPUFreq driver for the Samsung S3C2416 and
|
|
S3C2450 SoC. The S3C2416 supports changing the rate of the
|
|
armdiv clock source and also entering a so called dynamic
|
|
voltage scaling mode in which it is possible to reduce the
|
|
core voltage of the cpu.
|
|
|
|
If in doubt, say N.
|
|
|
|
config ARM_S3C2416_CPUFREQ_VCORESCALE
|
|
bool "Allow voltage scaling for S3C2416 arm core"
|
|
depends on ARM_S3C2416_CPUFREQ && REGULATOR
|
|
help
|
|
Enable CPU voltage scaling when entering the dvs mode.
|
|
It uses information gathered through existing hardware and
|
|
tests but not documented in any datasheet.
|
|
|
|
If in doubt, say N.
|
|
|
|
config ARM_S3C64XX_CPUFREQ
|
|
bool "Samsung S3C64XX"
|
|
depends on CPU_S3C6410
|
|
default y
|
|
help
|
|
This adds the CPUFreq driver for Samsung S3C6410 SoC.
|
|
|
|
If in doubt, say N.
|
|
|
|
config ARM_S5PV210_CPUFREQ
|
|
bool "Samsung S5PV210 and S5PC110"
|
|
depends on CPU_S5PV210
|
|
select CPU_FREQ_TABLE
|
|
default y
|
|
help
|
|
This adds the CPUFreq driver for Samsung S5PV210 and
|
|
S5PC110 SoCs.
|
|
|
|
If in doubt, say N.
|
|
|
|
config ARM_SA1100_CPUFREQ
|
|
bool
|
|
|
|
config ARM_SA1110_CPUFREQ
|
|
bool
|
|
|
|
config ARM_SPEAR_CPUFREQ
|
|
bool "SPEAr CPUFreq support"
|
|
depends on PLAT_SPEAR
|
|
default y
|
|
help
|
|
This adds the CPUFreq driver support for SPEAr SOCs.
|