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/collie.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/collie.c')
-rw-r--r-- | arch/arm/mach-sa1100/collie.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 6ecab7e2c238..7fd6e29c36b7 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c | |||
@@ -171,9 +171,17 @@ static void __init collie_init(void) | |||
171 | } | 171 | } |
172 | 172 | ||
173 | static struct map_desc collie_io_desc[] __initdata = { | 173 | static struct map_desc collie_io_desc[] __initdata = { |
174 | /* virtual physical length type */ | 174 | { /* 32M main flash (cs0) */ |
175 | {0xe8000000, 0x00000000, 0x02000000, MT_DEVICE}, /* 32M main flash (cs0) */ | 175 | .virtual = 0xe8000000, |
176 | {0xea000000, 0x08000000, 0x02000000, MT_DEVICE}, /* 32M boot flash (cs1) */ | 176 | .pfn = __phys_to_pfn(0x00000000), |
177 | .length = 0x02000000, | ||
178 | .type = MT_DEVICE | ||
179 | }, { /* 32M boot flash (cs1) */ | ||
180 | .virtual = 0xea000000, | ||
181 | .pfn = __phys_to_pfn(0x08000000), | ||
182 | .length = 0x02000000, | ||
183 | .type = MT_DEVICE | ||
184 | } | ||
177 | }; | 185 | }; |
178 | 186 | ||
179 | static void __init collie_map_io(void) | 187 | static void __init collie_map_io(void) |