summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_pl01x.h
Commit message (Collapse)AuthorAgeLines
* Serial: p1011: new vendor init optionsJohn Rigby2011-05-12-0/+4
| | | | | | | | | | | | | | | | | | | | Two new options: CONFIG_PL011_SERIAL_RLCR Some vendor versions of PL011 serial ports (e.g. ST-Ericsson U8500) have separate receive and transmit line control registers. Set this variable to initialize the extra register. CONFIG_PL011_SERIAL_FLUSH_ON_INIT On some platforms (e.g. U8500) U-Boot is loaded by a second stage boot loader that has already initialized the UART. Define this variable to flush the UART at init time. empty fifo on init Signed-off-by: John Rigby <john.rigby@linaro.org> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
* pl01x: use C structs and readl/writelRabin Vincent2010-11-30-19/+22
| | | | | | | | Use C structs for registers, and use readl/writel instead of custom accessors. Acked-by: Michael Brandt <michael.brandt@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
* Merged serial_pl010.c and serial_pl011.c.Andreas Engel2008-09-09-0/+137
They only differ in the init function. This also adds the missing watchdog support for the PL011. Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>