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>
This commit is contained in:
Laurent Pinchart 2014-07-11 13:00:38 +02:00 committed by Olof Johansson
parent b10f1c836c
commit 8066ce3b87

View File

@ -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),