mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 11:04:44 +08:00
a98253e800
STMP378x and MX23 are the same and just relabeled. There is a mach-stmp378x, however, it has a lot of reinvented interfaces, leaking all sorts of mach-specific functions into the drivers. One example is the dmaengine which does not use the linux dmaengine-API but some privately exported symbols. This makes generic use of the drivers impossible. mach-mxs does it better, so convert the board to mach-mxs. After that, it is possible to delete all stmp-specific code which should ease further ARM-consolidation. Compile tested only due to no hardware (seems not available anymore). Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
71 lines
1.5 KiB
Plaintext
71 lines
1.5 KiB
Plaintext
if ARCH_MXS
|
|
|
|
source "arch/arm/mach-mxs/devices/Kconfig"
|
|
|
|
config MXS_OCOTP
|
|
bool
|
|
|
|
config SOC_IMX23
|
|
bool
|
|
select CPU_ARM926T
|
|
select HAVE_PWM
|
|
|
|
config SOC_IMX28
|
|
bool
|
|
select CPU_ARM926T
|
|
select HAVE_PWM
|
|
|
|
comment "MXS platforms:"
|
|
|
|
config MACH_STMP378X_DEVB
|
|
bool "Support STMP378x_devb Platform"
|
|
select SOC_IMX23
|
|
select MXS_HAVE_AMBA_DUART
|
|
select MXS_HAVE_PLATFORM_AUART
|
|
select MXS_HAVE_PLATFORM_MXS_MMC
|
|
help
|
|
Include support for STMP378x-devb platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_MX23EVK
|
|
bool "Support MX23EVK Platform"
|
|
select SOC_IMX23
|
|
select MXS_HAVE_AMBA_DUART
|
|
select MXS_HAVE_PLATFORM_AUART
|
|
select MXS_HAVE_PLATFORM_MXS_MMC
|
|
select MXS_HAVE_PLATFORM_MXSFB
|
|
default y
|
|
help
|
|
Include support for MX23EVK platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_MX28EVK
|
|
bool "Support MX28EVK Platform"
|
|
select SOC_IMX28
|
|
select MXS_HAVE_AMBA_DUART
|
|
select MXS_HAVE_PLATFORM_AUART
|
|
select MXS_HAVE_PLATFORM_FEC
|
|
select MXS_HAVE_PLATFORM_FLEXCAN
|
|
select MXS_HAVE_PLATFORM_MXS_MMC
|
|
select MXS_HAVE_PLATFORM_MXSFB
|
|
select MXS_OCOTP
|
|
default y
|
|
help
|
|
Include support for MX28EVK platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MODULE_TX28
|
|
bool
|
|
select SOC_IMX28
|
|
select MXS_HAVE_AMBA_DUART
|
|
select MXS_HAVE_PLATFORM_AUART
|
|
select MXS_HAVE_PLATFORM_FEC
|
|
select MXS_HAVE_PLATFORM_MXS_I2C
|
|
select MXS_HAVE_PLATFORM_MXS_PWM
|
|
|
|
config MACH_TX28
|
|
bool "Ka-Ro TX28 module"
|
|
select MODULE_TX28
|
|
|
|
endif
|