diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-07-11 15:00:36 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-07-12 20:51:36 +0400 |
commit | 0e32986c0f51d585b4980a0f01c269627f51b78b (patch) | |
tree | 72d0504ed437644e39f3112a9f16604416dc8238 /arch/arm/mach-pxa/include | |
parent | ab70e7e7e5acafaaf7105c752b25b46a618951e9 (diff) | |
download | linux-0e32986c0f51d585b4980a0f01c269627f51b78b.tar.xz |
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 <laurent.pinchart@ideasonboard.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/hardware.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h index ccb06e485520..efb3965aa929 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: |