Serial: p1011: new vendor init options
authorJohn Rigby <john.rigby@linaro.org>
Tue, 19 Apr 2011 10:42:39 +0000 (10:42 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 12 May 2011 17:09:07 +0000 (19:09 +0200)
commit910f1ae3eb05533ac0c7f7fe5b31b50b91f7f0e1
tree9ef4f320297799db6bf99aa0ea5d29d2bcf492fb
parent264eaa0ea967bac32214b87d60cfc86c8b22cac6
Serial: p1011: new vendor init options

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>
README
drivers/serial/serial_pl01x.c
drivers/serial/serial_pl01x.h