From 0e32986c0f51d585b4980a0f01c269627f51b78b Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 11 Jul 2014 13:00:36 +0200 Subject: ARM: pxa: Don't hardcode addresses and size in map_desc tables The virtual address, physical address and size of all regions for which we create static mappings are defined in PXA headers. Replaced the hardcoded values with macros. Signed-off-by: Laurent Pinchart Acked-by: Nicolas Pitre Signed-off-by: Olof Johansson --- arch/arm/mach-pxa/include/mach/hardware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-pxa/include') diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h index ccb06e48552..efb3965aa92 100644 --- a/arch/arm/mach-pxa/include/mach/hardware.h +++ b/arch/arm/mach-pxa/include/mach/hardware.h @@ -20,7 +20,7 @@ * The mapping is set in mach-pxa/generic.c. */ #define UNCACHED_PHYS_0 0xff000000 -#define UNCACHED_ADDR UNCACHED_PHYS_0 +#define UNCACHED_PHYS_0_SIZE 0x00100000 /* * Intel PXA2xx internal register mapping: -- cgit v1.2.3-70-g09d2