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-kirkwood/openrd-setup.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-kirkwood/openrd-setup.c')
-rw-r--r-- | arch/arm/mach-kirkwood/openrd-setup.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-kirkwood/openrd-setup.c b/arch/arm/mach-kirkwood/openrd-setup.c index 38017c8ac43f..c9d77fad10ab 100644 --- a/arch/arm/mach-kirkwood/openrd-setup.c +++ b/arch/arm/mach-kirkwood/openrd-setup.c | |||
@@ -214,8 +214,6 @@ subsys_initcall(openrd_pci_init); | |||
214 | #ifdef CONFIG_MACH_OPENRD_BASE | 214 | #ifdef CONFIG_MACH_OPENRD_BASE |
215 | MACHINE_START(OPENRD_BASE, "Marvell OpenRD Base Board") | 215 | MACHINE_START(OPENRD_BASE, "Marvell OpenRD Base Board") |
216 | /* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */ | 216 | /* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */ |
217 | .phys_io = KIRKWOOD_REGS_PHYS_BASE, | ||
218 | .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc, | ||
219 | .boot_params = 0x00000100, | 217 | .boot_params = 0x00000100, |
220 | .init_machine = openrd_init, | 218 | .init_machine = openrd_init, |
221 | .map_io = kirkwood_map_io, | 219 | .map_io = kirkwood_map_io, |
@@ -227,8 +225,6 @@ MACHINE_END | |||
227 | #ifdef CONFIG_MACH_OPENRD_CLIENT | 225 | #ifdef CONFIG_MACH_OPENRD_CLIENT |
228 | MACHINE_START(OPENRD_CLIENT, "Marvell OpenRD Client Board") | 226 | MACHINE_START(OPENRD_CLIENT, "Marvell OpenRD Client Board") |
229 | /* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */ | 227 | /* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */ |
230 | .phys_io = KIRKWOOD_REGS_PHYS_BASE, | ||
231 | .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc, | ||
232 | .boot_params = 0x00000100, | 228 | .boot_params = 0x00000100, |
233 | .init_machine = openrd_init, | 229 | .init_machine = openrd_init, |
234 | .map_io = kirkwood_map_io, | 230 | .map_io = kirkwood_map_io, |
@@ -240,8 +236,6 @@ MACHINE_END | |||
240 | #ifdef CONFIG_MACH_OPENRD_ULTIMATE | 236 | #ifdef CONFIG_MACH_OPENRD_ULTIMATE |
241 | MACHINE_START(OPENRD_ULTIMATE, "Marvell OpenRD Ultimate Board") | 237 | MACHINE_START(OPENRD_ULTIMATE, "Marvell OpenRD Ultimate Board") |
242 | /* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */ | 238 | /* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */ |
243 | .phys_io = KIRKWOOD_REGS_PHYS_BASE, | ||
244 | .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc, | ||
245 | .boot_params = 0x00000100, | 239 | .boot_params = 0x00000100, |
246 | .init_machine = openrd_init, | 240 | .init_machine = openrd_init, |
247 | .map_io = kirkwood_map_io, | 241 | .map_io = kirkwood_map_io, |