forked from Minki/linux
6eec0152c4
With this patch ocotp support will always be build into the kernel on mxs. Otherwise a DT-only kernel fails to link with: arch/arm/mach-mxs/mach-mxs.c:169: undefined reference to `mxs_get_ocotp' Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
118 lines
2.8 KiB
Plaintext
118 lines
2.8 KiB
Plaintext
if ARCH_MXS
|
|
|
|
source "arch/arm/mach-mxs/devices/Kconfig"
|
|
|
|
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_CAN_FLEXCAN if CAN
|
|
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
|
|
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
|
|
|
|
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
|
|
|
|
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
|