ns16550: change to allow 32 bit access to registers
authorDave Aldridge <fovsoft@gmail.com>
Thu, 1 Sep 2011 22:47:14 +0000 (22:47 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 1 Oct 2011 19:54:16 +0000 (21:54 +0200)
commit79df1208ee6984aa63468673c042667d121bb0bc
treec0943501442703bfed2dc2fb2984557588e6d5c2
parentb18eabfa5fad24e7046903208c72af82d7e01cdd
ns16550: change to allow 32 bit access to registers

If CONFIG_SYS_NS16550_MEM32 is defined then 32 bit memory
mapped access will be used to read/write the uart registers.

This is especially useful for SoC devices that implement 16550
compatible uarts but that have peripheral access width constraints.

Signed-off-by: Dave Aldridge <fovsoft@gmail.com>
drivers/serial/ns16550.c
include/ns16550.h