forked from luck/tmp_suning_uos_patched
dbc4245bb5
The mxs duart is actually an amba-pl011 device. This commit changes the duart device code to dynamically allocate amba-pl011 device, so that drivers/serial/amba-pl011.c can be used on mxs. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
35 lines
675 B
Plaintext
35 lines
675 B
Plaintext
if ARCH_MXS
|
|
|
|
source "arch/arm/mach-mxs/devices/Kconfig"
|
|
|
|
config SOC_IMX23
|
|
bool
|
|
select CPU_ARM926T
|
|
|
|
config SOC_IMX28
|
|
bool
|
|
select CPU_ARM926T
|
|
|
|
comment "MXS platforms:"
|
|
|
|
config MACH_MX23EVK
|
|
bool "Support MX23EVK Platform"
|
|
select SOC_IMX23
|
|
select MXS_HAVE_AMBA_DUART
|
|
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_FEC
|
|
default y
|
|
help
|
|
Include support for MX28EVK platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
endif
|