Commit 8066ce3b authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Olof Johansson

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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarNicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent b10f1c83
...@@ -404,11 +404,6 @@ static struct map_desc pxa27x_io_desc[] __initdata = { ...@@ -404,11 +404,6 @@ static struct map_desc pxa27x_io_desc[] __initdata = {
.pfn = __phys_to_pfn(PXA2XX_SMEMC_BASE), .pfn = __phys_to_pfn(PXA2XX_SMEMC_BASE),
.length = SMEMC_SIZE, .length = SMEMC_SIZE,
.type = MT_DEVICE .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 */ }, { /* UNCACHED_PHYS_0 */
.virtual = UNCACHED_PHYS_0, .virtual = UNCACHED_PHYS_0,
.pfn = __phys_to_pfn(0x00000000), .pfn = __phys_to_pfn(0x00000000),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment