summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/generic.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-07-11 13:00:37 +0200
committerOlof Johansson <olof@lixom.net>2014-07-12 09:51:40 -0700
commitb10f1c836c4e8c2372d14953a17aa5b9744eb55c (patch)
treedcce5fa976ccef53bb62fcdcbe81cc7e07082763 /arch/arm/mach-pxa/generic.c
parent0e32986c0f51d585b4980a0f01c269627f51b78b (diff)
ARM: pxa: Move UNCACHED_PHYS_0 mapping from generic.c to pxa2[57]x.c
The UNCACHED_PHYS_0 mapping is only needed on PXA25x and PXA27x platforms. Move it to pxa25x.c and pxa27x.c to avoid wasting vmalloc space on PXA3xx. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-pxa/generic.c')
-rw-r--r--arch/arm/mach-pxa/generic.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 68a75fe1602..b31e101cad9 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -83,11 +83,6 @@ static struct map_desc common_io_desc[] __initdata = {
.pfn = __phys_to_pfn(PERIPH_PHYS),
.length = PERIPH_SIZE,
.type = MT_DEVICE
- }, { /* UNCACHED_PHYS_0 */
- .virtual = UNCACHED_PHYS_0,
- .pfn = __phys_to_pfn(0x00000000),
- .length = UNCACHED_PHYS_0_SIZE,
- .type = MT_DEVICE
}
};