aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-10-01 22:15:39 -0400
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-10-03 08:23:14 -0400
commita15da8eff3627b8368db7f5dd260e5643213d918 (patch)
tree262d3d4b34625b3630fe785c6b625e1d84670fe9 /arch/ppc
parent260c02a9beddf4186a8c7549b2eec2f6c67f1151 (diff)
[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>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/syslib/virtex_devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/syslib/virtex_devices.c b/arch/ppc/syslib/virtex_devices.c
index ace4ec08de51..270ad3acfb59 100644
--- a/arch/ppc/syslib/virtex_devices.c
+++ b/arch/ppc/syslib/virtex_devices.c
@@ -28,7 +28,7 @@
28 .num_resources = 2, \ 28 .num_resources = 2, \
29 .resource = (struct resource[]) { \ 29 .resource = (struct resource[]) { \
30 { \ 30 { \
31 .start = XPAR_UARTLITE_##num##_BASEADDR + 3, \ 31 .start = XPAR_UARTLITE_##num##_BASEADDR, \
32 .end = XPAR_UARTLITE_##num##_HIGHADDR, \ 32 .end = XPAR_UARTLITE_##num##_HIGHADDR, \
33 .flags = IORESOURCE_MEM, \ 33 .flags = IORESOURCE_MEM, \
34 }, \ 34 }, \