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-pxa/trizeps4.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-pxa/trizeps4.c')
-rw-r--r-- | arch/arm/mach-pxa/trizeps4.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/trizeps4.c b/arch/arm/mach-pxa/trizeps4.c index 0acff172ef22..565d062f51d5 100644 --- a/arch/arm/mach-pxa/trizeps4.c +++ b/arch/arm/mach-pxa/trizeps4.c | |||
@@ -555,8 +555,6 @@ static void __init trizeps4_map_io(void) | |||
555 | 555 | ||
556 | MACHINE_START(TRIZEPS4, "Keith und Koep Trizeps IV module") | 556 | MACHINE_START(TRIZEPS4, "Keith und Koep Trizeps IV module") |
557 | /* MAINTAINER("Jürgen Schindele") */ | 557 | /* MAINTAINER("Jürgen Schindele") */ |
558 | .phys_io = 0x40000000, | ||
559 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
560 | .boot_params = TRIZEPS4_SDRAM_BASE + 0x100, | 558 | .boot_params = TRIZEPS4_SDRAM_BASE + 0x100, |
561 | .init_machine = trizeps4_init, | 559 | .init_machine = trizeps4_init, |
562 | .map_io = trizeps4_map_io, | 560 | .map_io = trizeps4_map_io, |
@@ -566,8 +564,6 @@ MACHINE_END | |||
566 | 564 | ||
567 | MACHINE_START(TRIZEPS4WL, "Keith und Koep Trizeps IV-WL module") | 565 | MACHINE_START(TRIZEPS4WL, "Keith und Koep Trizeps IV-WL module") |
568 | /* MAINTAINER("Jürgen Schindele") */ | 566 | /* MAINTAINER("Jürgen Schindele") */ |
569 | .phys_io = 0x40000000, | ||
570 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
571 | .boot_params = TRIZEPS4_SDRAM_BASE + 0x100, | 567 | .boot_params = TRIZEPS4_SDRAM_BASE + 0x100, |
572 | .init_machine = trizeps4_init, | 568 | .init_machine = trizeps4_init, |
573 | .map_io = trizeps4_map_io, | 569 | .map_io = trizeps4_map_io, |