[POWERPC] Xilinx: boot support for Xilinx uart 16550.
authorJohn Linn <john.linn@xilinx.com>
Wed, 2 Apr 2008 16:52:14 +0000 (03:52 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 24 Apr 2008 18:32:46 +0000 (13:32 -0500)
commit2f0b45f846735b486c0383740d3959941c4721a4
tree87af793cbf504c8f7ff9174d8707bc6b87672f47
parent884d04cd8d7bba3dc885227ad400f8aea5623cdc
[POWERPC] Xilinx: boot support for Xilinx uart 16550.

The Xilinx 16550 uart core is not a standard 16550 because it uses
word-based addressing rather than byte-based adressing. With
additional properties it is compatible with the open firmware
'ns16550' compatible binding.

This code updates the ns16550 driver to use the reg-offset property
so that the Xilinx UART 16550 can be used with it. The reg-shift
was already being handled.

Signed-off-by: John Linn <john.linn@xilinx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/boot/ns16550.c