diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-10-02 12:47:02 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-10-03 08:37:41 -0400 |
commit | e077b50c29a7e8be5812d1156934ea837b712ca6 (patch) | |
tree | 45fc2e9e02a9b9f97f4d671d7fa98753f1a05fc6 /arch/ppc | |
parent | be1b4d34e3a379d20d50e75a95aa5c3f0c7cf612 (diff) |
[POWERPC] Uartlite: Revert register io access changes
Reverts commit a15da8eff3627b8368db7f5dd260e5643213d918
This driver is used by devices other than the xilinx opb-uartlite which
depend on bytewise access to the registers. The change to 32 bit access
does not work on these devices.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/syslib/virtex_devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/syslib/virtex_devices.c b/arch/ppc/syslib/virtex_devices.c index 270ad3acfb59..ace4ec08de51 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, \ | 31 | .start = XPAR_UARTLITE_##num##_BASEADDR + 3, \ |
32 | .end = XPAR_UARTLITE_##num##_HIGHADDR, \ | 32 | .end = XPAR_UARTLITE_##num##_HIGHADDR, \ |
33 | .flags = IORESOURCE_MEM, \ | 33 | .flags = IORESOURCE_MEM, \ |
34 | }, \ | 34 | }, \ |