diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:04 -0400 |
commit | 92519d82828a93743adc31202927f411601c0d04 (patch) | |
tree | 66870a71932fa52ad0d4cd748c0df0a8a7fc2e29 /arch/arm/mach-sa1100/generic.c | |
parent | cd5fc8bffd70b2d87953334b6195db4bc2125ff9 (diff) |
[ARM] 2992/1: Replace map_desc.physical with map_desc.pfn: SA1100
Patch from Deepak Saxena
SA1100 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/mach-sa1100/generic.c')
-rw-r--r-- | arch/arm/mach-sa1100/generic.c | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c index 3f1e358455e5..93619497779c 100644 --- a/arch/arm/mach-sa1100/generic.c +++ b/arch/arm/mach-sa1100/generic.c | |||
@@ -369,11 +369,27 @@ EXPORT_SYMBOL(sa1100fb_lcd_power); | |||
369 | */ | 369 | */ |
370 | 370 | ||
371 | static struct map_desc standard_io_desc[] __initdata = { | 371 | static struct map_desc standard_io_desc[] __initdata = { |
372 | /* virtual physical length type */ | 372 | { /* PCM */ |
373 | { 0xf8000000, 0x80000000, 0x00100000, MT_DEVICE }, /* PCM */ | 373 | .virtual = 0xf8000000, |
374 | { 0xfa000000, 0x90000000, 0x00100000, MT_DEVICE }, /* SCM */ | 374 | .pfn = __phys_to_pfn(0x80000000), |
375 | { 0xfc000000, 0xa0000000, 0x00100000, MT_DEVICE }, /* MER */ | 375 | .length = 0x00100000, |
376 | { 0xfe000000, 0xb0000000, 0x00200000, MT_DEVICE } /* LCD + DMA */ | 376 | .type = MT_DEVICE |
377 | }, { /* SCM */ | ||
378 | .virtual = 0xfa000000, | ||
379 | .pfn = __phys_to_pfn(0x90000000), | ||
380 | .length = 0x00100000, | ||
381 | .type = MT_DEVICE | ||
382 | }, { /* MER */ | ||
383 | .virtual = 0xfc000000, | ||
384 | .pfn = __phys_to_pfn(0xa0000000), | ||
385 | .length = 0x00100000, | ||
386 | .type = MT_DEVICE | ||
387 | }, { /* LCD + DMA */ | ||
388 | .virtual = 0xfe000000, | ||
389 | .pfn = __phys_to_pfn(0xb0000000), | ||
390 | .length = 0x00200000, | ||
391 | .type = MT_DEVICE | ||
392 | }, | ||
377 | }; | 393 | }; |
378 | 394 | ||
379 | void __init sa1100_map_io(void) | 395 | void __init sa1100_map_io(void) |