[U-Boot] [PATCH v3 5/7] serial: ns16550: Support ns16550 compatible pci uart devices

Simon Glass sjg at chromium.org
Tue Dec 30 19:49:00 CET 2014


On 30 December 2014 at 07:53, Bin Meng <bmeng.cn at gmail.com> wrote:
> There are many pci uart devices which are ns16550 compatible. We can
> describe them in the board dts file and use it as the U-Boot serial
> console as specified in the chosen node 'stdout-path' property.
>
> Those pci uart devices can have their register be memory-mapped, or
> i/o-mapped. The driver will try to use the memory-mapped register if
> the reg property in the node has an entry to describe the memory-mapped
> register, otherwise i/o-mapped register will be used.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v3:
> - Update to use 'memory-mapped' and 'i/o-mapped' in several places
> - Use 'Processor Local Bus' instead of 'plb'
> - Change the logic in ns16550_serial_ofdata_to_platdata() to avoid goto
>
> Changes in v2:
> - New patch to support ns16550 compatible pci uart devices
>
>  drivers/serial/ns16550.c | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list