aboutsummaryrefslogtreecommitdiff
path: root/lib/syscall.c
diff options
context:
space:
mode:
authorSergey Yanovich <[email protected]>2016-09-27 18:23:16 +0200
committerGreg Kroah-Hartman <[email protected]>2016-10-27 16:03:09 +0200
commitab28f51c77cd46189aa5726c98d5153052567a3c (patch)
tree643562e7db907aa2e4685f15c861b9d785604da6 /lib/syscall.c
parent07d9a380680d1c0eb51ef87ff2eab5c994949e69 (diff)
serial: rewrite pxa2xx-uart to use 8250_core
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 <[email protected]> CC: Heikki Krogerus <[email protected]> CC: James Cameron <[email protected]> CC: Robert Jarzmik <[email protected]> CC: Russell King <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> [rebased on v4.8] Tested-by: Robert Jarzmik <[email protected]> Signed-off-by: Robert Jarzmik <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions