mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 08:06:43 +07:00
e1d4f23ec0
As the flexcan driver has DT binding for some time now. This patch makes the flexcan driver available in the can drivers menu if a SOC with flexcan is enabled. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
124 lines
2.9 KiB
Plaintext
124 lines
2.9 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_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
|
|
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
|