diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-10-02 12:15:39 +1000 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-10-03 07:23:14 -0500 |
commit | a15da8eff3627b8368db7f5dd260e5643213d918 (patch) | |
tree | 262d3d4b34625b3630fe785c6b625e1d84670fe9 /arch | |
parent | 260c02a9beddf4186a8c7549b2eec2f6c67f1151 (diff) | |
download | kernel_samsung_smdk4412-a15da8eff3627b8368db7f5dd260e5643213d918.zip kernel_samsung_smdk4412-a15da8eff3627b8368db7f5dd260e5643213d918.tar.gz kernel_samsung_smdk4412-a15da8eff3627b8368db7f5dd260e5643213d918.tar.bz2 |
[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')
-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 ace4ec0..270ad3a 100644 --- a/arch/ppc/syslib/virtex_devices.c +++ b/arch/ppc/syslib/virtex_devices.c @@ -28,7 +28,7 @@ .num_resources = 2, \ .resource = (struct resource[]) { \ { \ - .start = XPAR_UARTLITE_##num##_BASEADDR + 3, \ + .start = XPAR_UARTLITE_##num##_BASEADDR, \ .end = XPAR_UARTLITE_##num##_HIGHADDR, \ .flags = IORESOURCE_MEM, \ }, \ |