From b10f1c836c4e8c2372d14953a17aa5b9744eb55c Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 11 Jul 2014 13:00:37 +0200 Subject: 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 Acked-by: Nicolas Pitre Signed-off-by: Olof Johansson --- arch/arm/mach-pxa/generic.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'arch/arm/mach-pxa/generic.c') diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index 68a75fe16020..b31e101cad9b 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 } }; -- cgit v1.2.3