diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2010-10-14 22:21:46 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-10-20 00:27:46 -0400 |
commit | 6451d7783ba5ff24eb1a544eaa6665b890f30466 (patch) | |
tree | 78651bbbed163fe933cd42deabebad682d7c03dc /arch/arm/mach-ep93xx/edb93xx.c | |
parent | c293393faa8e11a5a80a9e358718432b8697f451 (diff) |
arm: remove machine_desc.io_pg_offst and .phys_io
Since we're now using addruart to establish the debug mapping, we can
remove the io_pg_offst and phys_io members of struct machine_desc.
The various declarations were removed using the following script:
grep -rl MACHINE_START arch/arm | xargs \
sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }'
[ Initial patch was from Jeremy Kerr, example script from Russell King ]
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Eric Miao <eric.miao at canonical.com>
Diffstat (limited to 'arch/arm/mach-ep93xx/edb93xx.c')
-rw-r--r-- | arch/arm/mach-ep93xx/edb93xx.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-ep93xx/edb93xx.c b/arch/arm/mach-ep93xx/edb93xx.c index c2ce9034ba87..4b0431652131 100644 --- a/arch/arm/mach-ep93xx/edb93xx.c +++ b/arch/arm/mach-ep93xx/edb93xx.c | |||
@@ -124,8 +124,6 @@ static void __init edb93xx_init_machine(void) | |||
124 | #ifdef CONFIG_MACH_EDB9301 | 124 | #ifdef CONFIG_MACH_EDB9301 |
125 | MACHINE_START(EDB9301, "Cirrus Logic EDB9301 Evaluation Board") | 125 | MACHINE_START(EDB9301, "Cirrus Logic EDB9301 Evaluation Board") |
126 | /* Maintainer: H Hartley Sweeten <hsweeten@visionengravers.com> */ | 126 | /* Maintainer: H Hartley Sweeten <hsweeten@visionengravers.com> */ |
127 | .phys_io = EP93XX_APB_PHYS_BASE, | ||
128 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | ||
129 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, | 127 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, |
130 | .map_io = ep93xx_map_io, | 128 | .map_io = ep93xx_map_io, |
131 | .init_irq = ep93xx_init_irq, | 129 | .init_irq = ep93xx_init_irq, |
@@ -137,8 +135,6 @@ MACHINE_END | |||
137 | #ifdef CONFIG_MACH_EDB9302 | 135 | #ifdef CONFIG_MACH_EDB9302 |
138 | MACHINE_START(EDB9302, "Cirrus Logic EDB9302 Evaluation Board") | 136 | MACHINE_START(EDB9302, "Cirrus Logic EDB9302 Evaluation Board") |
139 | /* Maintainer: George Kashperko <george@chas.com.ua> */ | 137 | /* Maintainer: George Kashperko <george@chas.com.ua> */ |
140 | .phys_io = EP93XX_APB_PHYS_BASE, | ||
141 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | ||
142 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, | 138 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, |
143 | .map_io = ep93xx_map_io, | 139 | .map_io = ep93xx_map_io, |
144 | .init_irq = ep93xx_init_irq, | 140 | .init_irq = ep93xx_init_irq, |
@@ -150,8 +146,6 @@ MACHINE_END | |||
150 | #ifdef CONFIG_MACH_EDB9302A | 146 | #ifdef CONFIG_MACH_EDB9302A |
151 | MACHINE_START(EDB9302A, "Cirrus Logic EDB9302A Evaluation Board") | 147 | MACHINE_START(EDB9302A, "Cirrus Logic EDB9302A Evaluation Board") |
152 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ | 148 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ |
153 | .phys_io = EP93XX_APB_PHYS_BASE, | ||
154 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | ||
155 | .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, | 149 | .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, |
156 | .map_io = ep93xx_map_io, | 150 | .map_io = ep93xx_map_io, |
157 | .init_irq = ep93xx_init_irq, | 151 | .init_irq = ep93xx_init_irq, |
@@ -163,8 +157,6 @@ MACHINE_END | |||
163 | #ifdef CONFIG_MACH_EDB9307 | 157 | #ifdef CONFIG_MACH_EDB9307 |
164 | MACHINE_START(EDB9307, "Cirrus Logic EDB9307 Evaluation Board") | 158 | MACHINE_START(EDB9307, "Cirrus Logic EDB9307 Evaluation Board") |
165 | /* Maintainer: Herbert Valerio Riedel <hvr@gnu.org> */ | 159 | /* Maintainer: Herbert Valerio Riedel <hvr@gnu.org> */ |
166 | .phys_io = EP93XX_APB_PHYS_BASE, | ||
167 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | ||
168 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, | 160 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, |
169 | .map_io = ep93xx_map_io, | 161 | .map_io = ep93xx_map_io, |
170 | .init_irq = ep93xx_init_irq, | 162 | .init_irq = ep93xx_init_irq, |
@@ -176,8 +168,6 @@ MACHINE_END | |||
176 | #ifdef CONFIG_MACH_EDB9307A | 168 | #ifdef CONFIG_MACH_EDB9307A |
177 | MACHINE_START(EDB9307A, "Cirrus Logic EDB9307A Evaluation Board") | 169 | MACHINE_START(EDB9307A, "Cirrus Logic EDB9307A Evaluation Board") |
178 | /* Maintainer: H Hartley Sweeten <hsweeten@visionengravers.com> */ | 170 | /* Maintainer: H Hartley Sweeten <hsweeten@visionengravers.com> */ |
179 | .phys_io = EP93XX_APB_PHYS_BASE, | ||
180 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | ||
181 | .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, | 171 | .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, |
182 | .map_io = ep93xx_map_io, | 172 | .map_io = ep93xx_map_io, |
183 | .init_irq = ep93xx_init_irq, | 173 | .init_irq = ep93xx_init_irq, |
@@ -189,8 +179,6 @@ MACHINE_END | |||
189 | #ifdef CONFIG_MACH_EDB9312 | 179 | #ifdef CONFIG_MACH_EDB9312 |
190 | MACHINE_START(EDB9312, "Cirrus Logic EDB9312 Evaluation Board") | 180 | MACHINE_START(EDB9312, "Cirrus Logic EDB9312 Evaluation Board") |
191 | /* Maintainer: Toufeeq Hussain <toufeeq_hussain@infosys.com> */ | 181 | /* Maintainer: Toufeeq Hussain <toufeeq_hussain@infosys.com> */ |
192 | .phys_io = EP93XX_APB_PHYS_BASE, | ||
193 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | ||
194 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, | 182 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, |
195 | .map_io = ep93xx_map_io, | 183 | .map_io = ep93xx_map_io, |
196 | .init_irq = ep93xx_init_irq, | 184 | .init_irq = ep93xx_init_irq, |
@@ -202,8 +190,6 @@ MACHINE_END | |||
202 | #ifdef CONFIG_MACH_EDB9315 | 190 | #ifdef CONFIG_MACH_EDB9315 |
203 | MACHINE_START(EDB9315, "Cirrus Logic EDB9315 Evaluation Board") | 191 | MACHINE_START(EDB9315, "Cirrus Logic EDB9315 Evaluation Board") |
204 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ | 192 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ |
205 | .phys_io = EP93XX_APB_PHYS_BASE, | ||
206 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | ||
207 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, | 193 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, |
208 | .map_io = ep93xx_map_io, | 194 | .map_io = ep93xx_map_io, |
209 | .init_irq = ep93xx_init_irq, | 195 | .init_irq = ep93xx_init_irq, |
@@ -215,8 +201,6 @@ MACHINE_END | |||
215 | #ifdef CONFIG_MACH_EDB9315A | 201 | #ifdef CONFIG_MACH_EDB9315A |
216 | MACHINE_START(EDB9315A, "Cirrus Logic EDB9315A Evaluation Board") | 202 | MACHINE_START(EDB9315A, "Cirrus Logic EDB9315A Evaluation Board") |
217 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ | 203 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ |
218 | .phys_io = EP93XX_APB_PHYS_BASE, | ||
219 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | ||
220 | .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, | 204 | .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, |
221 | .map_io = ep93xx_map_io, | 205 | .map_io = ep93xx_map_io, |
222 | .init_irq = ep93xx_init_irq, | 206 | .init_irq = ep93xx_init_irq, |