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/colibri-pxa270.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/colibri-pxa270.c')
-rw-r--r-- | arch/arm/mach-pxa/colibri-pxa270.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/colibri-pxa270.c b/arch/arm/mach-pxa/colibri-pxa270.c index 98673ac6efd0..bc045100ec15 100644 --- a/arch/arm/mach-pxa/colibri-pxa270.c +++ b/arch/arm/mach-pxa/colibri-pxa270.c | |||
@@ -207,8 +207,6 @@ static void __init colibri_pxa270_income_init(void) | |||
207 | } | 207 | } |
208 | 208 | ||
209 | MACHINE_START(COLIBRI, "Toradex Colibri PXA270") | 209 | MACHINE_START(COLIBRI, "Toradex Colibri PXA270") |
210 | .phys_io = 0x40000000, | ||
211 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
212 | .boot_params = COLIBRI_SDRAM_BASE + 0x100, | 210 | .boot_params = COLIBRI_SDRAM_BASE + 0x100, |
213 | .init_machine = colibri_pxa270_init, | 211 | .init_machine = colibri_pxa270_init, |
214 | .map_io = pxa_map_io, | 212 | .map_io = pxa_map_io, |
@@ -217,8 +215,6 @@ MACHINE_START(COLIBRI, "Toradex Colibri PXA270") | |||
217 | MACHINE_END | 215 | MACHINE_END |
218 | 216 | ||
219 | MACHINE_START(INCOME, "Income s.r.o. SH-Dmaster PXA270 SBC") | 217 | MACHINE_START(INCOME, "Income s.r.o. SH-Dmaster PXA270 SBC") |
220 | .phys_io = 0x40000000, | ||
221 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
222 | .boot_params = 0xa0000100, | 218 | .boot_params = 0xa0000100, |
223 | .init_machine = colibri_pxa270_income_init, | 219 | .init_machine = colibri_pxa270_income_init, |
224 | .map_io = pxa_map_io, | 220 | .map_io = pxa_map_io, |