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/lart.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/lart.c')
-rw-r--r-- | arch/arm/mach-sa1100/lart.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-sa1100/lart.c b/arch/arm/mach-sa1100/lart.c index ed6744d480af..8c9e3dd52942 100644 --- a/arch/arm/mach-sa1100/lart.c +++ b/arch/arm/mach-sa1100/lart.c | |||
@@ -31,9 +31,17 @@ static void __init lart_init(void) | |||
31 | } | 31 | } |
32 | 32 | ||
33 | static struct map_desc lart_io_desc[] __initdata = { | 33 | static struct map_desc lart_io_desc[] __initdata = { |
34 | /* virtual physical length type */ | 34 | { /* main flash memory */ |
35 | { 0xe8000000, 0x00000000, 0x00400000, MT_DEVICE }, /* main flash memory */ | 35 | .virtual = 0xe8000000, |
36 | { 0xec000000, 0x08000000, 0x00400000, MT_DEVICE } /* main flash, alternative location */ | 36 | .pfn = __phys_to_pfn(0x00000000), |
37 | .length = 0x00400000, | ||
38 | .type = MT_DEVICE | ||
39 | }, { /* main flash, alternative location */ | ||
40 | .virtual = 0xec000000, | ||
41 | .pfn = __phys_to_pfn(0x08000000), | ||
42 | .length = 0x00400000, | ||
43 | .type = MT_DEVICE | ||
44 | } | ||
37 | }; | 45 | }; |
38 | 46 | ||
39 | static void __init lart_map_io(void) | 47 | static void __init lart_map_io(void) |