mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ab28f51c77
pxa2xx-uart was a separate uart platform driver. It was declaring the same device names and numbers as 8250 driver. As a result, it was impossible to use 8250 driver on PXA SoCs. Upon closer examination pxa2xx-uart turned out to be a clone of 8250_core driver. Workaround for Erratum #19 according to Marvel(R) PXA270M Processor Specification Update (April 19, 2010) is dropped. 8250_core reads from FIFO immediately after checking DR bit in LSR. The patch leaves the original SERIAL_PXA driver around. The original driver is just marked DEPRECATED in Kconfig and C source. When the original driver is considered safe to remove, no changes to SERIAL_8250 will be necessary. Compiling SERIAL_8250_CONSOLE and SERIAL_PXA_CONSOLE even without SERIAL_8250_PXA breaks console for SERIAL_PXA. For this reasons, the new and the original drivers are made mutually exclusive. Signed-off-by: Sergei Ianovich <ynvich@gmail.com> CC: Heikki Krogerus <heikki.krogerus@linux.intel.com> CC: James Cameron <quozl@laptop.org> CC: Robert Jarzmik <robert.jarzmik@free.fr> CC: Russell King <linux@arm.linux.org.uk> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> [rebased on v4.8] Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
38 lines
1.5 KiB
Makefile
38 lines
1.5 KiB
Makefile
#
|
|
# Makefile for the 8250 serial device drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_SERIAL_8250) += 8250.o 8250_base.o
|
|
8250-y := 8250_core.o
|
|
8250-$(CONFIG_SERIAL_8250_PNP) += 8250_pnp.o
|
|
8250_base-y := 8250_port.o
|
|
8250_base-$(CONFIG_SERIAL_8250_DMA) += 8250_dma.o
|
|
8250_base-$(CONFIG_SERIAL_8250_FINTEK) += 8250_fintek.o
|
|
obj-$(CONFIG_SERIAL_8250_GSC) += 8250_gsc.o
|
|
obj-$(CONFIG_SERIAL_8250_PCI) += 8250_pci.o
|
|
obj-$(CONFIG_SERIAL_8250_HP300) += 8250_hp300.o
|
|
obj-$(CONFIG_SERIAL_8250_CS) += serial_cs.o
|
|
obj-$(CONFIG_SERIAL_8250_ACORN) += 8250_acorn.o
|
|
obj-$(CONFIG_SERIAL_8250_BCM2835AUX) += 8250_bcm2835aux.o
|
|
obj-$(CONFIG_SERIAL_8250_CONSOLE) += 8250_early.o
|
|
obj-$(CONFIG_SERIAL_8250_FOURPORT) += 8250_fourport.o
|
|
obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250_accent.o
|
|
obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o
|
|
obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554) += 8250_exar_st16c554.o
|
|
obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
|
|
obj-$(CONFIG_SERIAL_8250_FSL) += 8250_fsl.o
|
|
obj-$(CONFIG_SERIAL_8250_DW) += 8250_dw.o
|
|
obj-$(CONFIG_SERIAL_8250_EM) += 8250_em.o
|
|
obj-$(CONFIG_SERIAL_8250_OMAP) += 8250_omap.o
|
|
obj-$(CONFIG_SERIAL_8250_LPC18XX) += 8250_lpc18xx.o
|
|
obj-$(CONFIG_SERIAL_8250_MT6577) += 8250_mtk.o
|
|
obj-$(CONFIG_SERIAL_8250_UNIPHIER) += 8250_uniphier.o
|
|
obj-$(CONFIG_SERIAL_8250_INGENIC) += 8250_ingenic.o
|
|
obj-$(CONFIG_SERIAL_8250_LPSS) += 8250_lpss.o
|
|
obj-$(CONFIG_SERIAL_8250_MID) += 8250_mid.o
|
|
obj-$(CONFIG_SERIAL_8250_MOXA) += 8250_moxa.o
|
|
obj-$(CONFIG_SERIAL_8250_PXA) += 8250_pxa.o
|
|
obj-$(CONFIG_SERIAL_OF_PLATFORM) += 8250_of.o
|
|
|
|
CFLAGS_8250_ingenic.o += -I$(srctree)/scripts/dtc/libfdt
|