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>
This commit is contained in:
Marek Vasut
2010-11-03 16:29:35 +01:00
committed by Eric Miao
parent 851982c1b6
commit ad68bb9f7a
22 changed files with 176 additions and 136 deletions

View File

@ -28,6 +28,7 @@
#include <mach/reset.h>
#include <mach/gpio.h>
#include <mach/smemc.h>
#include "generic.h"