aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/neponset.c
diff options
context:
space:
mode:
authorDeepak Saxena <dsaxena@plexity.net>2005-10-28 10:19:04 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 10:19:04 -0400
commit92519d82828a93743adc31202927f411601c0d04 (patch)
tree66870a71932fa52ad0d4cd748c0df0a8a7fc2e29 /arch/arm/mach-sa1100/neponset.c
parentcd5fc8bffd70b2d87953334b6195db4bc2125ff9 (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/neponset.c')
-rw-r--r--arch/arm/mach-sa1100/neponset.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-sa1100/neponset.c b/arch/arm/mach-sa1100/neponset.c
index fc061641b7be..0c5eff3bdc09 100644
--- a/arch/arm/mach-sa1100/neponset.c
+++ b/arch/arm/mach-sa1100/neponset.c
@@ -331,9 +331,17 @@ static int __init neponset_init(void)
331subsys_initcall(neponset_init); 331subsys_initcall(neponset_init);
332 332
333static struct map_desc neponset_io_desc[] __initdata = { 333static struct map_desc neponset_io_desc[] __initdata = {
334 /* virtual physical length type */ 334 { /* System Registers */
335 { 0xf3000000, 0x10000000, SZ_1M, MT_DEVICE }, /* System Registers */ 335 .virtual = 0xf3000000,
336 { 0xf4000000, 0x40000000, SZ_1M, MT_DEVICE } /* SA-1111 */ 336 .pfn = __phys_to_pfn(0x10000000),
337 .length = SZ_1M,
338 .type = MT_DEVICE
339 }, { /* SA-1111 */
340 .virtual = 0xf4000000,
341 .pfn = __phys_to_pfn(0x40000000),
342 .length = SZ_1M,
343 .type = MT_DEVICE
344 }
337}; 345};
338 346
339void __init neponset_map_io(void) 347void __init neponset_map_io(void)