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-gemini | |
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-gemini')
-rw-r--r-- | arch/arm/mach-gemini/board-nas4220b.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-gemini/board-rut1xx.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-gemini/board-wbd111.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-gemini/board-wbd222.c | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-gemini/board-nas4220b.c b/arch/arm/mach-gemini/board-nas4220b.c index 01f1d6daab44..2ba096de0034 100644 --- a/arch/arm/mach-gemini/board-nas4220b.c +++ b/arch/arm/mach-gemini/board-nas4220b.c | |||
@@ -101,8 +101,6 @@ static void __init ib4220b_init(void) | |||
101 | } | 101 | } |
102 | 102 | ||
103 | MACHINE_START(NAS4220B, "Raidsonic NAS IB-4220-B") | 103 | MACHINE_START(NAS4220B, "Raidsonic NAS IB-4220-B") |
104 | .phys_io = 0x7fffc000, | ||
105 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
106 | .boot_params = 0x100, | 104 | .boot_params = 0x100, |
107 | .map_io = gemini_map_io, | 105 | .map_io = gemini_map_io, |
108 | .init_irq = gemini_init_irq, | 106 | .init_irq = gemini_init_irq, |
diff --git a/arch/arm/mach-gemini/board-rut1xx.c b/arch/arm/mach-gemini/board-rut1xx.c index e0de968e32a6..a9a0d8b01942 100644 --- a/arch/arm/mach-gemini/board-rut1xx.c +++ b/arch/arm/mach-gemini/board-rut1xx.c | |||
@@ -85,8 +85,6 @@ static void __init rut1xx_init(void) | |||
85 | } | 85 | } |
86 | 86 | ||
87 | MACHINE_START(RUT100, "Teltonika RUT100") | 87 | MACHINE_START(RUT100, "Teltonika RUT100") |
88 | .phys_io = 0x7fffc000, | ||
89 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
90 | .boot_params = 0x100, | 88 | .boot_params = 0x100, |
91 | .map_io = gemini_map_io, | 89 | .map_io = gemini_map_io, |
92 | .init_irq = gemini_init_irq, | 90 | .init_irq = gemini_init_irq, |
diff --git a/arch/arm/mach-gemini/board-wbd111.c b/arch/arm/mach-gemini/board-wbd111.c index 36538c15b3c4..8b88d50d4337 100644 --- a/arch/arm/mach-gemini/board-wbd111.c +++ b/arch/arm/mach-gemini/board-wbd111.c | |||
@@ -133,8 +133,6 @@ static void __init wbd111_init(void) | |||
133 | } | 133 | } |
134 | 134 | ||
135 | MACHINE_START(WBD111, "Wiliboard WBD-111") | 135 | MACHINE_START(WBD111, "Wiliboard WBD-111") |
136 | .phys_io = 0x7fffc000, | ||
137 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
138 | .boot_params = 0x100, | 136 | .boot_params = 0x100, |
139 | .map_io = gemini_map_io, | 137 | .map_io = gemini_map_io, |
140 | .init_irq = gemini_init_irq, | 138 | .init_irq = gemini_init_irq, |
diff --git a/arch/arm/mach-gemini/board-wbd222.c b/arch/arm/mach-gemini/board-wbd222.c index ece8b4c65110..1eebcecd1c33 100644 --- a/arch/arm/mach-gemini/board-wbd222.c +++ b/arch/arm/mach-gemini/board-wbd222.c | |||
@@ -133,8 +133,6 @@ static void __init wbd222_init(void) | |||
133 | } | 133 | } |
134 | 134 | ||
135 | MACHINE_START(WBD222, "Wiliboard WBD-222") | 135 | MACHINE_START(WBD222, "Wiliboard WBD-222") |
136 | .phys_io = 0x7fffc000, | ||
137 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
138 | .boot_params = 0x100, | 136 | .boot_params = 0x100, |
139 | .map_io = gemini_map_io, | 137 | .map_io = gemini_map_io, |
140 | .init_irq = gemini_init_irq, | 138 | .init_irq = gemini_init_irq, |