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/jornada720.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/jornada720.c')
-rw-r--r-- | arch/arm/mach-sa1100/jornada720.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/arch/arm/mach-sa1100/jornada720.c b/arch/arm/mach-sa1100/jornada720.c index 2f497112c96a..9c363bfcf310 100644 --- a/arch/arm/mach-sa1100/jornada720.c +++ b/arch/arm/mach-sa1100/jornada720.c | |||
@@ -81,10 +81,22 @@ static int __init jornada720_init(void) | |||
81 | arch_initcall(jornada720_init); | 81 | arch_initcall(jornada720_init); |
82 | 82 | ||
83 | static struct map_desc jornada720_io_desc[] __initdata = { | 83 | static struct map_desc jornada720_io_desc[] __initdata = { |
84 | /* virtual physical length type */ | 84 | { /* Epson registers */ |
85 | { 0xf0000000, 0x48000000, 0x00100000, MT_DEVICE }, /* Epson registers */ | 85 | .virtual = 0xf0000000, |
86 | { 0xf1000000, 0x48200000, 0x00100000, MT_DEVICE }, /* Epson frame buffer */ | 86 | .pfn = __phys_to_pfn(0x48000000), |
87 | { 0xf4000000, 0x40000000, 0x00100000, MT_DEVICE } /* SA-1111 */ | 87 | .length = 0x00100000, |
88 | .type = MT_DEVICE | ||
89 | }, { /* Epson frame buffer */ | ||
90 | .virtual = 0xf1000000, | ||
91 | .pfn = __phys_to_pfn(0x48200000), | ||
92 | .length = 0x00100000, | ||
93 | .type = MT_DEVICE | ||
94 | }, { /* SA-1111 */ | ||
95 | .virtual = 0xf4000000, | ||
96 | .pfn = __phys_to_pfn(0x40000000), | ||
97 | .length = 0x00100000, | ||
98 | .type = MT_DEVICE | ||
99 | } | ||
88 | }; | 100 | }; |
89 | 101 | ||
90 | static void __init jornada720_map_io(void) | 102 | static void __init jornada720_map_io(void) |