ARM: pxa: Access SMEMC via virtual addresses
commitad68bb9f7a3cd47396635a5e3895215af57579da
authorMarek Vasut <marek.vasut@gmail.com>
Wed, 3 Nov 2010 15:29:35 +0000 (3 16:29 +0100)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 16 Dec 2010 06:31:16 +0000 (16 14:31 +0800)
tree6d9890bc0112b637e95afa0129a08fc20e325234
parent851982c1b6ca18cedf6d01e4529a0c1ddb30771e
ARM: pxa: Access SMEMC via virtual addresses

This is important because on PXA3xx, the physical mapping of SMEMC registers
differs from the one on PXA2xx. In order to get PCMCIA working on both PXA2xx
and PXA320, the PCMCIA driver was adjusted accordingly as well.

Also, various places in the kernel had to be patched to use
__raw_read/__raw_write.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
22 files changed:
arch/arm/mach-pxa/cm-x2xx.c
arch/arm/mach-pxa/cpufreq-pxa2xx.c
arch/arm/mach-pxa/csb726.c
arch/arm/mach-pxa/generic.c
arch/arm/mach-pxa/h5000.c
arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
arch/arm/mach-pxa/include/mach/smemc.h [new file with mode: 0644]
arch/arm/mach-pxa/lpd270.c
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-pxa/sleep.S
arch/arm/mach-pxa/smemc.c
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/stargate2.c
arch/arm/mach-pxa/tosa.c
arch/arm/mach-pxa/trizeps4.c
arch/arm/mach-pxa/xcep.c
arch/arm/mach-pxa/zeus.c
drivers/pcmcia/pxa2xx_base.c