[POWERPC] Uartlite: Fix reg io to access documented register size
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 2 Oct 2007 02:15:39 +0000 (12:15 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 3 Oct 2007 12:23:14 +0000 (07:23 -0500)
commita15da8eff3627b8368db7f5dd260e5643213d918
tree262d3d4b34625b3630fe785c6b625e1d84670fe9
parent260c02a9beddf4186a8c7549b2eec2f6c67f1151
[POWERPC] Uartlite: Fix reg io to access documented register size

The Uartlite data sheet defines the registers as 32 bit wide.  This
patch changes the register access to use 32 bit transfers and eliminates
the magic +3 offset which is currently required to make the device
work.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: John Williams <jwilliams@itee.uq.edu.au>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/ppc/syslib/virtex_devices.c
drivers/serial/uartlite.c