mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
d81c50a036
Change the Kconfig option logic to fullfil with the current approach. A new Kconfig option is added, CONFIG_MXS_TIMER and is selected by the platform. Then the clocksource's Kconfig is changed to make this option selectable by the user if the COMPILE_TEST option is set. Otherwise, it is up to the platform's Kconfig to select the timer. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
27 lines
512 B
Plaintext
27 lines
512 B
Plaintext
config SOC_IMX23
|
|
bool
|
|
select ARM_AMBA
|
|
select ARM_CPU_SUSPEND if PM
|
|
select CPU_ARM926T
|
|
select PINCTRL_IMX23
|
|
|
|
config SOC_IMX28
|
|
bool
|
|
select ARM_AMBA
|
|
select ARM_CPU_SUSPEND if PM
|
|
select CPU_ARM926T
|
|
select PINCTRL_IMX28
|
|
|
|
config ARCH_MXS
|
|
bool "Freescale MXS (i.MX23, i.MX28) support"
|
|
depends on ARCH_MULTI_V5
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select MXS_TIMER
|
|
select PINCTRL
|
|
select SOC_BUS
|
|
select SOC_IMX23
|
|
select SOC_IMX28
|
|
select STMP_DEVICE
|
|
help
|
|
Support for Freescale MXS-based family of processors
|