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/simpad.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/simpad.c')
-rw-r--r-- | arch/arm/mach-sa1100/simpad.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index 07f6d5fd7bb0..cfb6658e5cdf 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c | |||
@@ -60,11 +60,17 @@ EXPORT_SYMBOL(set_cs3_bit); | |||
60 | EXPORT_SYMBOL(clear_cs3_bit); | 60 | EXPORT_SYMBOL(clear_cs3_bit); |
61 | 61 | ||
62 | static struct map_desc simpad_io_desc[] __initdata = { | 62 | static struct map_desc simpad_io_desc[] __initdata = { |
63 | /* virtual physical length type */ | 63 | { /* MQ200 */ |
64 | /* MQ200 */ | 64 | .virtual = 0xf2800000, |
65 | { 0xf2800000, 0x4b800000, 0x00800000, MT_DEVICE }, | 65 | .pfn = __phys_to_pfn(0x4b800000), |
66 | /* Paules CS3, write only */ | 66 | .length = 0x00800000, |
67 | { 0xf1000000, 0x18000000, 0x00100000, MT_DEVICE }, | 67 | .type = MT_DEVICE |
68 | }, { /* Paules CS3, write only */ | ||
69 | .virtual = 0xf1000000, | ||
70 | .pfn = __phys_to_pfn(0x18000000), | ||
71 | .length = 0x00100000, | ||
72 | .type = MT_DEVICE | ||
73 | }, | ||
68 | }; | 74 | }; |
69 | 75 | ||
70 | 76 | ||