ARM: pxa: Don't hardcode addresses and size in map_desc tables
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 11 Jul 2014 11:00:36 +0000 (13:00 +0200)
committerOlof Johansson <olof@lixom.net>
Sat, 12 Jul 2014 16:51:36 +0000 (09:51 -0700)
commit0e32986c0f51d585b4980a0f01c269627f51b78b
tree72d0504ed437644e39f3112a9f16604416dc8238
parentab70e7e7e5acafaaf7105c752b25b46a618951e9
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>
arch/arm/mach-pxa/generic.c
arch/arm/mach-pxa/include/mach/hardware.h
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa3xx.c