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:

cometido por
Olof Johansson

ascendente
ab70e7e7e5
cometimento
0e32986c0f
@@ -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
|
||||
},
|
||||
};
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador