SERIAL: Enable port-mapped access
authorGraeme Russ <graeme.russ@gmail.com>
Fri, 23 Apr 2010 14:05:46 +0000 (00:05 +1000)
committerWolfgang Denk <wd@denx.de>
Wed, 5 May 2010 22:16:28 +0000 (00:16 +0200)
commit167cdad1372917bc11c636c359aad02625291fa9
treee4627b229ae7e6ec0ac9a72d680157aa50e92d2f
parent153c2d9f2397e8b6ca03cfebb4e9666ea0b0637c
SERIAL: Enable port-mapped access

The x86 architecture exclusively uses Port-Mapped I/O (inb/outb) to access
the 16550 UARTs. This patch mimics how Linux selects between Memory-Mapped
and Port-Mapped I/O. This allows x86 boards to use CONFIG_SERIAL_MUTLI and
drop the custom serial port driver

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
drivers/serial/ns16550.c