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/badge4.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/badge4.c')
-rw-r--r-- | arch/arm/mach-sa1100/badge4.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/arch/arm/mach-sa1100/badge4.c b/arch/arm/mach-sa1100/badge4.c index b6169cb09196..c92cebff7f8e 100644 --- a/arch/arm/mach-sa1100/badge4.c +++ b/arch/arm/mach-sa1100/badge4.c | |||
@@ -254,10 +254,22 @@ EXPORT_SYMBOL(badge4_set_5V); | |||
254 | 254 | ||
255 | 255 | ||
256 | static struct map_desc badge4_io_desc[] __initdata = { | 256 | static struct map_desc badge4_io_desc[] __initdata = { |
257 | /* virtual physical length type */ | 257 | { /* SRAM bank 1 */ |
258 | {0xf1000000, 0x08000000, 0x00100000, MT_DEVICE },/* SRAM bank 1 */ | 258 | .virtual = 0xf1000000, |
259 | {0xf2000000, 0x10000000, 0x00100000, MT_DEVICE },/* SRAM bank 2 */ | 259 | .pfn = __phys_to_pfn(0x08000000), |
260 | {0xf4000000, 0x48000000, 0x00100000, MT_DEVICE } /* SA-1111 */ | 260 | .length = 0x00100000, |
261 | .type = MT_DEVICE | ||
262 | }, { /* SRAM bank 2 */ | ||
263 | .virtual = 0xf2000000, | ||
264 | .pfn = __phys_to_pfn(0x10000000), | ||
265 | .length = 0x00100000, | ||
266 | .type = MT_DEVICE | ||
267 | }, { /* SA-1111 */ | ||
268 | .virtual = 0xf4000000, | ||
269 | .pfn = __phys_to_pfn(0x48000000), | ||
270 | .length = 0x00100000, | ||
271 | .type = MT_DEVICE | ||
272 | } | ||
261 | }; | 273 | }; |
262 | 274 | ||
263 | static void | 275 | static void |