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-sa1100 | |
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-sa1100')
-rw-r--r-- | arch/arm/mach-sa1100/assabet.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/badge4.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/cerf.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/collie.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/h3100.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/h3600.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/hackkit.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/jornada720.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/lart.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/pleb.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/shannon.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/simpad.c | 2 |
12 files changed, 0 insertions, 24 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index 169e5b87dbff..5778274a8260 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c | |||
@@ -447,8 +447,6 @@ static void __init assabet_map_io(void) | |||
447 | 447 | ||
448 | 448 | ||
449 | MACHINE_START(ASSABET, "Intel-Assabet") | 449 | MACHINE_START(ASSABET, "Intel-Assabet") |
450 | .phys_io = 0x80000000, | ||
451 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
452 | .boot_params = 0xc0000100, | 450 | .boot_params = 0xc0000100, |
453 | .fixup = fixup_assabet, | 451 | .fixup = fixup_assabet, |
454 | .map_io = assabet_map_io, | 452 | .map_io = assabet_map_io, |
diff --git a/arch/arm/mach-sa1100/badge4.c b/arch/arm/mach-sa1100/badge4.c index 259cb2c15fff..4f19ff868b00 100644 --- a/arch/arm/mach-sa1100/badge4.c +++ b/arch/arm/mach-sa1100/badge4.c | |||
@@ -302,8 +302,6 @@ static void __init badge4_map_io(void) | |||
302 | } | 302 | } |
303 | 303 | ||
304 | MACHINE_START(BADGE4, "Hewlett-Packard Laboratories BadgePAD 4") | 304 | MACHINE_START(BADGE4, "Hewlett-Packard Laboratories BadgePAD 4") |
305 | .phys_io = 0x80000000, | ||
306 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
307 | .boot_params = 0xc0000100, | 305 | .boot_params = 0xc0000100, |
308 | .map_io = badge4_map_io, | 306 | .map_io = badge4_map_io, |
309 | .init_irq = sa1100_init_irq, | 307 | .init_irq = sa1100_init_irq, |
diff --git a/arch/arm/mach-sa1100/cerf.c b/arch/arm/mach-sa1100/cerf.c index bc950ef418af..98d780608c7e 100644 --- a/arch/arm/mach-sa1100/cerf.c +++ b/arch/arm/mach-sa1100/cerf.c | |||
@@ -135,8 +135,6 @@ static void __init cerf_init(void) | |||
135 | 135 | ||
136 | MACHINE_START(CERF, "Intrinsyc CerfBoard/CerfCube") | 136 | MACHINE_START(CERF, "Intrinsyc CerfBoard/CerfCube") |
137 | /* Maintainer: support@intrinsyc.com */ | 137 | /* Maintainer: support@intrinsyc.com */ |
138 | .phys_io = 0x80000000, | ||
139 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
140 | .map_io = cerf_map_io, | 138 | .map_io = cerf_map_io, |
141 | .init_irq = cerf_init_irq, | 139 | .init_irq = cerf_init_irq, |
142 | .timer = &sa1100_timer, | 140 | .timer = &sa1100_timer, |
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 16e682d5dbb7..d43c5ef58eb6 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c | |||
@@ -379,8 +379,6 @@ static void __init collie_map_io(void) | |||
379 | } | 379 | } |
380 | 380 | ||
381 | MACHINE_START(COLLIE, "Sharp-Collie") | 381 | MACHINE_START(COLLIE, "Sharp-Collie") |
382 | .phys_io = 0x80000000, | ||
383 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
384 | .map_io = collie_map_io, | 382 | .map_io = collie_map_io, |
385 | .init_irq = sa1100_init_irq, | 383 | .init_irq = sa1100_init_irq, |
386 | .timer = &sa1100_timer, | 384 | .timer = &sa1100_timer, |
diff --git a/arch/arm/mach-sa1100/h3100.c b/arch/arm/mach-sa1100/h3100.c index 0c7cea0dc013..03d7376cf8a0 100644 --- a/arch/arm/mach-sa1100/h3100.c +++ b/arch/arm/mach-sa1100/h3100.c | |||
@@ -84,8 +84,6 @@ static void __init h3100_mach_init(void) | |||
84 | } | 84 | } |
85 | 85 | ||
86 | MACHINE_START(H3100, "Compaq iPAQ H3100") | 86 | MACHINE_START(H3100, "Compaq iPAQ H3100") |
87 | .phys_io = 0x80000000, | ||
88 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
89 | .boot_params = 0xc0000100, | 87 | .boot_params = 0xc0000100, |
90 | .map_io = h3100_map_io, | 88 | .map_io = h3100_map_io, |
91 | .init_irq = sa1100_init_irq, | 89 | .init_irq = sa1100_init_irq, |
diff --git a/arch/arm/mach-sa1100/h3600.c b/arch/arm/mach-sa1100/h3600.c index af3b71459f8d..965f64a836f8 100644 --- a/arch/arm/mach-sa1100/h3600.c +++ b/arch/arm/mach-sa1100/h3600.c | |||
@@ -125,8 +125,6 @@ static void __init h3600_mach_init(void) | |||
125 | } | 125 | } |
126 | 126 | ||
127 | MACHINE_START(H3600, "Compaq iPAQ H3600") | 127 | MACHINE_START(H3600, "Compaq iPAQ H3600") |
128 | .phys_io = 0x80000000, | ||
129 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
130 | .boot_params = 0xc0000100, | 128 | .boot_params = 0xc0000100, |
131 | .map_io = h3600_map_io, | 129 | .map_io = h3600_map_io, |
132 | .init_irq = sa1100_init_irq, | 130 | .init_irq = sa1100_init_irq, |
diff --git a/arch/arm/mach-sa1100/hackkit.c b/arch/arm/mach-sa1100/hackkit.c index 51568dfc8e97..db5e434a17db 100644 --- a/arch/arm/mach-sa1100/hackkit.c +++ b/arch/arm/mach-sa1100/hackkit.c | |||
@@ -195,8 +195,6 @@ static void __init hackkit_init(void) | |||
195 | */ | 195 | */ |
196 | 196 | ||
197 | MACHINE_START(HACKKIT, "HackKit Cpu Board") | 197 | MACHINE_START(HACKKIT, "HackKit Cpu Board") |
198 | .phys_io = 0x80000000, | ||
199 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
200 | .boot_params = 0xc0000100, | 198 | .boot_params = 0xc0000100, |
201 | .map_io = hackkit_map_io, | 199 | .map_io = hackkit_map_io, |
202 | .init_irq = sa1100_init_irq, | 200 | .init_irq = sa1100_init_irq, |
diff --git a/arch/arm/mach-sa1100/jornada720.c b/arch/arm/mach-sa1100/jornada720.c index d3ec620618f1..491ac9f20fb4 100644 --- a/arch/arm/mach-sa1100/jornada720.c +++ b/arch/arm/mach-sa1100/jornada720.c | |||
@@ -364,8 +364,6 @@ static void __init jornada720_mach_init(void) | |||
364 | 364 | ||
365 | MACHINE_START(JORNADA720, "HP Jornada 720") | 365 | MACHINE_START(JORNADA720, "HP Jornada 720") |
366 | /* Maintainer: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> */ | 366 | /* Maintainer: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> */ |
367 | .phys_io = 0x80000000, | ||
368 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
369 | .boot_params = 0xc0000100, | 367 | .boot_params = 0xc0000100, |
370 | .map_io = jornada720_map_io, | 368 | .map_io = jornada720_map_io, |
371 | .init_irq = sa1100_init_irq, | 369 | .init_irq = sa1100_init_irq, |
diff --git a/arch/arm/mach-sa1100/lart.c b/arch/arm/mach-sa1100/lart.c index 68069d6dc07a..7b9556b59057 100644 --- a/arch/arm/mach-sa1100/lart.c +++ b/arch/arm/mach-sa1100/lart.c | |||
@@ -61,8 +61,6 @@ static void __init lart_map_io(void) | |||
61 | } | 61 | } |
62 | 62 | ||
63 | MACHINE_START(LART, "LART") | 63 | MACHINE_START(LART, "LART") |
64 | .phys_io = 0x80000000, | ||
65 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
66 | .boot_params = 0xc0000100, | 64 | .boot_params = 0xc0000100, |
67 | .map_io = lart_map_io, | 65 | .map_io = lart_map_io, |
68 | .init_irq = sa1100_init_irq, | 66 | .init_irq = sa1100_init_irq, |
diff --git a/arch/arm/mach-sa1100/pleb.c b/arch/arm/mach-sa1100/pleb.c index 1ccd6018d3a3..42b80400c100 100644 --- a/arch/arm/mach-sa1100/pleb.c +++ b/arch/arm/mach-sa1100/pleb.c | |||
@@ -146,8 +146,6 @@ static void __init pleb_map_io(void) | |||
146 | } | 146 | } |
147 | 147 | ||
148 | MACHINE_START(PLEB, "PLEB") | 148 | MACHINE_START(PLEB, "PLEB") |
149 | .phys_io = 0x80000000, | ||
150 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
151 | .map_io = pleb_map_io, | 149 | .map_io = pleb_map_io, |
152 | .init_irq = sa1100_init_irq, | 150 | .init_irq = sa1100_init_irq, |
153 | .timer = &sa1100_timer, | 151 | .timer = &sa1100_timer, |
diff --git a/arch/arm/mach-sa1100/shannon.c b/arch/arm/mach-sa1100/shannon.c index 85e82bb73d7e..7917b2405579 100644 --- a/arch/arm/mach-sa1100/shannon.c +++ b/arch/arm/mach-sa1100/shannon.c | |||
@@ -82,8 +82,6 @@ static void __init shannon_map_io(void) | |||
82 | } | 82 | } |
83 | 83 | ||
84 | MACHINE_START(SHANNON, "Shannon (AKA: Tuxscreen)") | 84 | MACHINE_START(SHANNON, "Shannon (AKA: Tuxscreen)") |
85 | .phys_io = 0x80000000, | ||
86 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
87 | .boot_params = 0xc0000100, | 85 | .boot_params = 0xc0000100, |
88 | .map_io = shannon_map_io, | 86 | .map_io = shannon_map_io, |
89 | .init_irq = sa1100_init_irq, | 87 | .init_irq = sa1100_init_irq, |
diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index 49cfd64663ac..27692d0ffbe8 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c | |||
@@ -228,8 +228,6 @@ arch_initcall(simpad_init); | |||
228 | 228 | ||
229 | MACHINE_START(SIMPAD, "Simpad") | 229 | MACHINE_START(SIMPAD, "Simpad") |
230 | /* Maintainer: Holger Freyther */ | 230 | /* Maintainer: Holger Freyther */ |
231 | .phys_io = 0x80000000, | ||
232 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | ||
233 | .boot_params = 0xc0000100, | 231 | .boot_params = 0xc0000100, |
234 | .map_io = simpad_map_io, | 232 | .map_io = simpad_map_io, |
235 | .init_irq = sa1100_init_irq, | 233 | .init_irq = sa1100_init_irq, |