forked from luck/tmp_suning_uos_patched
6c4d4efb9d
As the ultimate for mxs platform is to convert over to device tree, let's start always building in device tree support for the platform. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Marek Vasut <marex@denx.de>
123 lines
2.8 KiB
Plaintext
123 lines
2.8 KiB
Plaintext
if ARCH_MXS
|
|
|
|
source "arch/arm/mach-mxs/devices/Kconfig"
|
|
|
|
config MXS_OCOTP
|
|
bool
|
|
|
|
config SOC_IMX23
|
|
bool
|
|
select ARM_AMBA
|
|
select CPU_ARM926T
|
|
select HAVE_PWM
|
|
select PINCTRL_IMX23
|
|
|
|
config SOC_IMX28
|
|
bool
|
|
select ARM_AMBA
|
|
select CPU_ARM926T
|
|
select HAVE_PWM
|
|
select PINCTRL_IMX28
|
|
|
|
comment "MXS platforms:"
|
|
|
|
config MACH_MXS_DT
|
|
bool "Support MXS platforms from device tree"
|
|
select SOC_IMX23
|
|
select SOC_IMX28
|
|
help
|
|
Include support for Freescale MXS platforms(i.MX23 and i.MX28)
|
|
using the device tree for discovery
|
|
|
|
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
|
|
select MXS_HAVE_PLATFORM_RTC_STMP3XXX
|
|
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
|
|
select MXS_HAVE_PLATFORM_RTC_STMP3XXX
|
|
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 LEDS_GPIO_REGISTER
|
|
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_HAVE_PLATFORM_MXS_SAIF
|
|
select MXS_HAVE_PLATFORM_MXS_I2C
|
|
select MXS_HAVE_PLATFORM_RTC_STMP3XXX
|
|
select MXS_OCOTP
|
|
help
|
|
Include support for MX28EVK platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MODULE_TX28
|
|
bool
|
|
select SOC_IMX28
|
|
select LEDS_GPIO_REGISTER
|
|
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_MMC
|
|
select MXS_HAVE_PLATFORM_MXS_PWM
|
|
select MXS_HAVE_PLATFORM_RTC_STMP3XXX
|
|
|
|
config MODULE_M28
|
|
bool
|
|
select SOC_IMX28
|
|
select LEDS_GPIO_REGISTER
|
|
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_I2C
|
|
select MXS_HAVE_PLATFORM_MXS_MMC
|
|
select MXS_HAVE_PLATFORM_MXSFB
|
|
select MXS_OCOTP
|
|
|
|
config MODULE_APX4
|
|
bool
|
|
select SOC_IMX28
|
|
select LEDS_GPIO_REGISTER
|
|
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_MMC
|
|
select MXS_HAVE_PLATFORM_MXS_SAIF
|
|
select MXS_OCOTP
|
|
|
|
config MACH_TX28
|
|
bool "Ka-Ro TX28 module"
|
|
select MODULE_TX28
|
|
|
|
config MACH_M28EVK
|
|
bool "Support DENX M28EVK Platform"
|
|
select MODULE_M28
|
|
|
|
config MACH_APX4DEVKIT
|
|
bool "Support Bluegiga APX4 Development Kit"
|
|
select MODULE_APX4
|
|
|
|
endif
|