summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-07-11 13:00:38 +0200
committerOlof Johansson <olof@lixom.net>2014-07-12 18:51:43 +0200
commit8066ce3b872d0437df904cee4c0edc4501a500de (patch)
tree53c4c0fed9a129a271c93ba95c8267fb1bdcadab /arch/arm
parentARM: pxa: Move UNCACHED_PHYS_0 mapping from generic.c to pxa2[57]x.c (diff)
downloadlinux-8066ce3b872d0437df904cee4c0edc4501a500de.tar.xz
linux-8066ce3b872d0437df904cee4c0edc4501a500de.zip
ARM: pxa: pxa27x: Don't map IMEMC region statically
The IMEMC mapping not only has no user, but maps a reserved memory space. It just wastes vmalloc space, remove it. 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')
-rw-r--r--arch/arm/mach-pxa/pxa27x.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index 6cc0f4656d10..b040d7d14888 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -404,11 +404,6 @@ static struct map_desc pxa27x_io_desc[] __initdata = {
.pfn = __phys_to_pfn(PXA2XX_SMEMC_BASE),
.length = SMEMC_SIZE,
.type = MT_DEVICE
- }, { /* IMem ctl */
- .virtual = (unsigned long)IMEMC_VIRT,
- .pfn = __phys_to_pfn(IMEMC_PHYS),
- .length = IMEMC_SIZE,
- .type = MT_DEVICE
}, { /* UNCACHED_PHYS_0 */
.virtual = UNCACHED_PHYS_0,
.pfn = __phys_to_pfn(0x00000000),