1
0

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>
Este cometimento está contido em:
Laurent Pinchart
2014-07-11 13:00:36 +02:00
cometido por Olof Johansson
ascendente ab70e7e7e5
cometimento 0e32986c0f
5 ficheiros modificados com 12 adições e 12 eliminações

Ver ficheiro

@@ -331,7 +331,7 @@ static struct map_desc pxa25x_io_desc[] __initdata = {
{ /* Mem Ctl */
.virtual = (unsigned long)SMEMC_VIRT,
.pfn = __phys_to_pfn(PXA2XX_SMEMC_BASE),
.length = 0x00200000,
.length = SMEMC_SIZE,
.type = MT_DEVICE
},
};