u-boot-brain/drivers
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
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block ahci: Don't start command DMA engine before buffers are set 2014-10-10 09:44:41 -04:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core dm: core: Add support for simple-bus 2014-10-22 10:36:56 -06:00
crypto crypto/fsl: Add command for encapsulating/decapsulating blobs 2014-10-16 14:20:40 -07:00
ddr/fsl driver/ddr/fsl: Fix DDR4 driver 2014-09-25 08:36:20 -07:00
demo kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
dfu dm: Add spi.h header to a few files 2014-10-22 10:36:47 -06:00
dma cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
fpga arm: socfpga: fpga: Add SoCFPGA FPGA programming interface 2014-10-06 17:46:50 +02:00
gpio dm: rpi: Convert GPIO driver to driver model 2014-10-22 10:36:57 -06:00
hwmon kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
i2c cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
input kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc dm: exynos: cros_ec: Move cros_ec_spi to driver model 2014-10-22 10:36:53 -06:00
mmc dm: exynos: Make sure that GPIOs are requested 2014-10-22 10:36:33 -06:00
mtd dm: sf: sandbox: Convert SPI flash driver to driver model 2014-10-22 10:36:51 -06:00
net Merge branch 'u-boot/master' into 'u-boot-arm/master' 2014-10-11 01:20:30 +02:00
pci kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
pcmcia kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
power sunxi: axp152: dcdc3 scale is 50mV / step not 25mV / step 2014-10-13 09:02:01 -04:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe net: Merge asm/fsl_enet.h into fsl_mdio.h 2014-09-08 10:30:33 -07:00
rtc kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
serial dm: serial: Tidy up the pl01x driver 2014-10-22 10:36:57 -06:00
sound kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
spi dm: tegra: spi: Convert to driver model 2014-10-22 10:36:52 -06:00
tpm kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb Merge branch 'u-boot/master' into 'u-boot-arm/master' 2014-10-11 01:20:30 +02:00
video video: ipu_disp: remove pixclk fixup 2014-10-16 11:00:26 +02:00
watchdog kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00