u-boot/drivers/serial
Simon Glass aed2fbef5e dm: serial: Tidy up the pl01x driver
Adjust the driver so that leaf functions take a pointer to the serial port
register base. Put all the global configuration in the init function, and
use the same settings from then on.

This makes it much easier to move to driver model without duplicating the
code, since with driver model we use platform data rather than global
settings.

The driver is compiled with either the CONFIG_PL010_SERIAL or
CONFIG_PL011_SERIAL option and this determines the uart type. With driver
model this needs to come in from platform data, so create a new
CONFIG_PL01X_SERIAL config which brings in the driver, and adjust the
driver to support both peripheral variants.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
2014-10-22 10:36:57 -06:00
..
altera_jtag_uart.c nios2: divide nios2-io.h into each specific drivers and remove it 2014-08-30 17:48:43 +08:00
altera_uart.c nios2: divide nios2-io.h into each specific drivers and remove it 2014-08-30 17:48:43 +08:00
arm_dcc.c serial: arm_dcc: Convert to use default_serial_puts 2013-08-19 09:44:28 -04:00
atmel_usart.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
atmel_usart.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
lpc32xx_hsuart.c serial: lpc32xx: send CR before LF 2013-12-13 09:14:34 -05:00
Makefile dm: serial: Tidy up the pl01x driver 2014-10-22 10:36:57 -06:00
mcfuart.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxs_auart.c serial: mxs_auart: Staticize local functions 2013-11-08 15:25:13 -05:00
ns16550.c dm: serial: Add driver model support for ns16550 2014-09-10 13:00:01 -06:00
opencores_yanu.c serial: move nios2-yanu.h into opencores_yanu driver 2014-08-30 17:48:43 +08:00
sandbox.c sandbox: serial: Support a coloured console 2014-09-10 13:00:00 -06:00
serial-uclass.c dm: serial: Put common code into separate functions 2014-10-22 10:36:54 -06:00
serial.c serial: add UniPhier serial driver 2014-10-05 14:10:09 +09:00
serial_arc.c serial: arc: Convert to use default_serial_puts 2014-02-21 09:50:12 -05:00
serial_bfin.c blackfin: Move blackfin serial driver out of blackfin arch folder. 2013-05-13 16:30:26 +08:00
serial_imx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_ks8695.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_lpuart.c Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-09-17 18:01:04 -04:00
serial_max3100.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_mxc.c dm: imx: serial: Support driver model in the MXC serial driver 2014-10-22 10:36:56 -06:00
serial_ns16550.c dm: serial: Move baud rate calculation to ns16550.c 2014-09-10 13:00:01 -06:00
serial_pl01x.c dm: serial: Tidy up the pl01x driver 2014-10-22 10:36:57 -06:00
serial_pl01x_internal.h dm: serial: Tidy up the pl01x driver 2014-10-22 10:36:57 -06:00
serial_pxa.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_s3c24x0.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_s5p.c dm: exynos: Move serial to driver model 2014-10-22 10:36:45 -06:00
serial_sa1100.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_sh.c serial: sh: Add support External Clock mode 2014-08-09 11:17:01 -04:00
serial_sh.h serial: sh: Add support External Clock mode 2014-08-09 11:17:01 -04:00
serial_tegra.c dm: tegra: Enable driver model for serial 2014-09-10 13:00:02 -06:00
serial_uniphier.c serial: add UniPhier serial driver 2014-10-05 14:10:09 +09:00
serial_xuartlite.c serial: uartlite: Reset RX/TX in init 2014-02-04 16:48:57 +01:00
serial_zynq.c serial: zynq: Fix typo in suffix function name 2014-05-06 13:47:42 +02:00
usbtty.c cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
usbtty.h omap: clean-up dead configs 2014-08-09 11:17:04 -04:00