projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: pxa: Don't hardcode addresses and size in map_desc tables
[cascardo/linux.git]
/
arch
/
arm
/
mach-pxa
/
pxa3xx.c
diff --git
a/arch/arm/mach-pxa/pxa3xx.c
b/arch/arm/mach-pxa/pxa3xx.c
index
87011f3
..
593ccd3
100644
(file)
--- a/
arch/arm/mach-pxa/pxa3xx.c
+++ b/
arch/arm/mach-pxa/pxa3xx.c
@@
-416,7
+416,7
@@
static struct map_desc pxa3xx_io_desc[] __initdata = {
{ /* Mem Ctl */
.virtual = (unsigned long)SMEMC_VIRT,
.pfn = __phys_to_pfn(PXA3XX_SMEMC_BASE),
{ /* Mem Ctl */
.virtual = (unsigned long)SMEMC_VIRT,
.pfn = __phys_to_pfn(PXA3XX_SMEMC_BASE),
- .length =
0x00200000
,
+ .length =
SMEMC_SIZE
,
.type = MT_DEVICE
}
};
.type = MT_DEVICE
}
};