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/h3600.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/h3600.c')
-rw-r--r-- | arch/arm/mach-sa1100/h3600.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/arch/arm/mach-sa1100/h3600.c b/arch/arm/mach-sa1100/h3600.c index e7aa2681ca64..e8352b7f74b0 100644 --- a/arch/arm/mach-sa1100/h3600.c +++ b/arch/arm/mach-sa1100/h3600.c | |||
@@ -223,10 +223,22 @@ static void h3xxx_lcd_power(int enable) | |||
223 | } | 223 | } |
224 | 224 | ||
225 | static struct map_desc h3600_io_desc[] __initdata = { | 225 | static struct map_desc h3600_io_desc[] __initdata = { |
226 | /* virtual physical length type */ | 226 | { /* static memory bank 2 CS#2 */ |
227 | { H3600_BANK_2_VIRT, SA1100_CS2_PHYS, 0x02800000, MT_DEVICE }, /* static memory bank 2 CS#2 */ | 227 | .virtual = H3600_BANK_2_VIRT, |
228 | { H3600_BANK_4_VIRT, SA1100_CS4_PHYS, 0x00800000, MT_DEVICE }, /* static memory bank 4 CS#4 */ | 228 | .pfn = __phys_to_pfn(SA1100_CS2_PHYS), |
229 | { H3600_EGPIO_VIRT, H3600_EGPIO_PHYS, 0x01000000, MT_DEVICE }, /* EGPIO 0 CS#5 */ | 229 | .length = 0x02800000, |
230 | .type = MT_DEVICE | ||
231 | }, { /* static memory bank 4 CS#4 */ | ||
232 | .virtual = H3600_BANK_4_VIRT, | ||
233 | .pfn = __phys_to_pfn(SA1100_CS4_PHYS), | ||
234 | .length = 0x00800000, | ||
235 | .type = MT_DEVICE | ||
236 | }, { /* EGPIO 0 CS#5 */ | ||
237 | .virtual = H3600_EGPIO_VIRT, | ||
238 | .pfn = __phys_to_pfn(H3600_EGPIO_PHYS), | ||
239 | .length = 0x01000000, | ||
240 | .type = MT_DEVICE | ||
241 | } | ||
230 | }; | 242 | }; |
231 | 243 | ||
232 | /* | 244 | /* |