summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorDeepak Saxena <dsaxena@plexity.net>2005-10-28 15:18:56 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 15:18:56 +0100
commitf70cd65658388ca2a06071bdbd8a5a6beac5aa47 (patch)
tree25e49869ae2ef81f1b66740efc9e179d693e8f37 /arch/arm
parentc6b9dafce3e3b434a3e7ffd5072815c03d18cc84 (diff)
downloadblackbird-op-linux-f70cd65658388ca2a06071bdbd8a5a6beac5aa47.tar.gz
blackbird-op-linux-f70cd65658388ca2a06071bdbd8a5a6beac5aa47.zip
[ARM] 2982/1: Replace map_desc.physical with map_desc.pfn: aaec2000
Patch from Deepak Saxena aaec2000 map_desc.pfn conversion Signed-off-by: Deepak Saxena <dsaxena@plexity.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-aaec2000/core.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-aaec2000/core.c b/arch/arm/mach-aaec2000/core.c
index aece0cd4f0a3..9be6c3213254 100644
--- a/arch/arm/mach-aaec2000/core.c
+++ b/arch/arm/mach-aaec2000/core.c
@@ -40,9 +40,17 @@
* default mapping provided here.
*/
static struct map_desc standard_io_desc[] __initdata = {
- /* virtual physical length type */
- { VIO_APB_BASE, PIO_APB_BASE, IO_APB_LENGTH, MT_DEVICE },
- { VIO_AHB_BASE, PIO_AHB_BASE, IO_AHB_LENGTH, MT_DEVICE }
+ {
+ .virtual = VIO_APB_BASE,
+ .physical = __phys_to_pfn(PIO_APB_BASE),
+ .length = IO_APB_LENGTH,
+ .type = MT_DEVICE
+ }, {
+ .virtual = VIO_AHB_BASE,
+ .physical = __phys_to_pfn(PIO_AHB_BASE),
+ .length = IO_AHB_LENGTH,
+ .type = MT_DEVICE
+ }
};
void __init aaec2000_map_io(void)
OpenPOWER on IntegriCloud