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-omap1 | |
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-omap1')
-rw-r--r-- | arch/arm/mach-omap1/board-ams-delta.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-fsample.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-generic.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-h2.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-h3.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-htcherald.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-innovator.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-nokia770.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-osk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-palmte.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-palmtt.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-palmz71.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-perseus2.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-sx1.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-voiceblue.c | 2 |
15 files changed, 0 insertions, 30 deletions
diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c index 41992ab71961..73c86392fcd3 100644 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c | |||
@@ -297,8 +297,6 @@ static void __init ams_delta_map_io(void) | |||
297 | 297 | ||
298 | MACHINE_START(AMS_DELTA, "Amstrad E3 (Delta)") | 298 | MACHINE_START(AMS_DELTA, "Amstrad E3 (Delta)") |
299 | /* Maintainer: Jonathan McDowell <noodles@earth.li> */ | 299 | /* Maintainer: Jonathan McDowell <noodles@earth.li> */ |
300 | .phys_io = 0xfff00000, | ||
301 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
302 | .boot_params = 0x10000100, | 300 | .boot_params = 0x10000100, |
303 | .map_io = ams_delta_map_io, | 301 | .map_io = ams_delta_map_io, |
304 | .reserve = omap_reserve, | 302 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-fsample.c b/arch/arm/mach-omap1/board-fsample.c index 180ce79e5eac..149fdd32e127 100644 --- a/arch/arm/mach-omap1/board-fsample.c +++ b/arch/arm/mach-omap1/board-fsample.c | |||
@@ -386,8 +386,6 @@ static void __init omap_fsample_map_io(void) | |||
386 | 386 | ||
387 | MACHINE_START(OMAP_FSAMPLE, "OMAP730 F-Sample") | 387 | MACHINE_START(OMAP_FSAMPLE, "OMAP730 F-Sample") |
388 | /* Maintainer: Brian Swetland <swetland@google.com> */ | 388 | /* Maintainer: Brian Swetland <swetland@google.com> */ |
389 | .phys_io = 0xfff00000, | ||
390 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
391 | .boot_params = 0x10000100, | 389 | .boot_params = 0x10000100, |
392 | .map_io = omap_fsample_map_io, | 390 | .map_io = omap_fsample_map_io, |
393 | .reserve = omap_reserve, | 391 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-generic.c b/arch/arm/mach-omap1/board-generic.c index 93b9ab8fc3be..23f4ab9e2651 100644 --- a/arch/arm/mach-omap1/board-generic.c +++ b/arch/arm/mach-omap1/board-generic.c | |||
@@ -94,8 +94,6 @@ static void __init omap_generic_map_io(void) | |||
94 | 94 | ||
95 | MACHINE_START(OMAP_GENERIC, "Generic OMAP1510/1610/1710") | 95 | MACHINE_START(OMAP_GENERIC, "Generic OMAP1510/1610/1710") |
96 | /* Maintainer: Tony Lindgren <tony@atomide.com> */ | 96 | /* Maintainer: Tony Lindgren <tony@atomide.com> */ |
97 | .phys_io = 0xfff00000, | ||
98 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
99 | .boot_params = 0x10000100, | 97 | .boot_params = 0x10000100, |
100 | .map_io = omap_generic_map_io, | 98 | .map_io = omap_generic_map_io, |
101 | .reserve = omap_reserve, | 99 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index d2cda58bcc48..197adb49dc5a 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c | |||
@@ -458,8 +458,6 @@ static void __init h2_map_io(void) | |||
458 | 458 | ||
459 | MACHINE_START(OMAP_H2, "TI-H2") | 459 | MACHINE_START(OMAP_H2, "TI-H2") |
460 | /* Maintainer: Imre Deak <imre.deak@nokia.com> */ | 460 | /* Maintainer: Imre Deak <imre.deak@nokia.com> */ |
461 | .phys_io = 0xfff00000, | ||
462 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
463 | .boot_params = 0x10000100, | 461 | .boot_params = 0x10000100, |
464 | .map_io = h2_map_io, | 462 | .map_io = h2_map_io, |
465 | .reserve = omap_reserve, | 463 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index c2ef4ff846c7..9126e3e37b4a 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c | |||
@@ -446,8 +446,6 @@ static void __init h3_map_io(void) | |||
446 | 446 | ||
447 | MACHINE_START(OMAP_H3, "TI OMAP1710 H3 board") | 447 | MACHINE_START(OMAP_H3, "TI OMAP1710 H3 board") |
448 | /* Maintainer: Texas Instruments, Inc. */ | 448 | /* Maintainer: Texas Instruments, Inc. */ |
449 | .phys_io = 0xfff00000, | ||
450 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
451 | .boot_params = 0x10000100, | 449 | .boot_params = 0x10000100, |
452 | .map_io = h3_map_io, | 450 | .map_io = h3_map_io, |
453 | .reserve = omap_reserve, | 451 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-htcherald.c b/arch/arm/mach-omap1/board-htcherald.c index 311899ff5ffc..86afb2952225 100644 --- a/arch/arm/mach-omap1/board-htcherald.c +++ b/arch/arm/mach-omap1/board-htcherald.c | |||
@@ -300,8 +300,6 @@ static void __init htcherald_init_irq(void) | |||
300 | MACHINE_START(HERALD, "HTC Herald") | 300 | MACHINE_START(HERALD, "HTC Herald") |
301 | /* Maintainer: Cory Maccarrone <darkstar6262@gmail.com> */ | 301 | /* Maintainer: Cory Maccarrone <darkstar6262@gmail.com> */ |
302 | /* Maintainer: wing-linux.sourceforge.net */ | 302 | /* Maintainer: wing-linux.sourceforge.net */ |
303 | .phys_io = 0xfff00000, | ||
304 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
305 | .boot_params = 0x10000100, | 303 | .boot_params = 0x10000100, |
306 | .map_io = htcherald_map_io, | 304 | .map_io = htcherald_map_io, |
307 | .reserve = omap_reserve, | 305 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-innovator.c b/arch/arm/mach-omap1/board-innovator.c index 3daf87ad2576..dc2b86fd66c1 100644 --- a/arch/arm/mach-omap1/board-innovator.c +++ b/arch/arm/mach-omap1/board-innovator.c | |||
@@ -459,8 +459,6 @@ static void __init innovator_map_io(void) | |||
459 | 459 | ||
460 | MACHINE_START(OMAP_INNOVATOR, "TI-Innovator") | 460 | MACHINE_START(OMAP_INNOVATOR, "TI-Innovator") |
461 | /* Maintainer: MontaVista Software, Inc. */ | 461 | /* Maintainer: MontaVista Software, Inc. */ |
462 | .phys_io = 0xfff00000, | ||
463 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
464 | .boot_params = 0x10000100, | 462 | .boot_params = 0x10000100, |
465 | .map_io = innovator_map_io, | 463 | .map_io = innovator_map_io, |
466 | .reserve = omap_reserve, | 464 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c index 51a4539aecf5..aa8375b2a0a3 100644 --- a/arch/arm/mach-omap1/board-nokia770.c +++ b/arch/arm/mach-omap1/board-nokia770.c | |||
@@ -262,8 +262,6 @@ static void __init omap_nokia770_map_io(void) | |||
262 | } | 262 | } |
263 | 263 | ||
264 | MACHINE_START(NOKIA770, "Nokia 770") | 264 | MACHINE_START(NOKIA770, "Nokia 770") |
265 | .phys_io = 0xfff00000, | ||
266 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
267 | .boot_params = 0x10000100, | 265 | .boot_params = 0x10000100, |
268 | .map_io = omap_nokia770_map_io, | 266 | .map_io = omap_nokia770_map_io, |
269 | .reserve = omap_reserve, | 267 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c index 679740cc1e90..e9dd79149a8e 100644 --- a/arch/arm/mach-omap1/board-osk.c +++ b/arch/arm/mach-omap1/board-osk.c | |||
@@ -580,8 +580,6 @@ static void __init osk_map_io(void) | |||
580 | 580 | ||
581 | MACHINE_START(OMAP_OSK, "TI-OSK") | 581 | MACHINE_START(OMAP_OSK, "TI-OSK") |
582 | /* Maintainer: Dirk Behme <dirk.behme@de.bosch.com> */ | 582 | /* Maintainer: Dirk Behme <dirk.behme@de.bosch.com> */ |
583 | .phys_io = 0xfff00000, | ||
584 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
585 | .boot_params = 0x10000100, | 583 | .boot_params = 0x10000100, |
586 | .map_io = osk_map_io, | 584 | .map_io = osk_map_io, |
587 | .reserve = omap_reserve, | 585 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c index 782bb257a85d..f32738b1eb6b 100644 --- a/arch/arm/mach-omap1/board-palmte.c +++ b/arch/arm/mach-omap1/board-palmte.c | |||
@@ -285,8 +285,6 @@ static void __init omap_palmte_map_io(void) | |||
285 | } | 285 | } |
286 | 286 | ||
287 | MACHINE_START(OMAP_PALMTE, "OMAP310 based Palm Tungsten E") | 287 | MACHINE_START(OMAP_PALMTE, "OMAP310 based Palm Tungsten E") |
288 | .phys_io = 0xfff00000, | ||
289 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
290 | .boot_params = 0x10000100, | 288 | .boot_params = 0x10000100, |
291 | .map_io = omap_palmte_map_io, | 289 | .map_io = omap_palmte_map_io, |
292 | .reserve = omap_reserve, | 290 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-palmtt.c b/arch/arm/mach-omap1/board-palmtt.c index 0b35ef54a64f..ed1400a67f75 100644 --- a/arch/arm/mach-omap1/board-palmtt.c +++ b/arch/arm/mach-omap1/board-palmtt.c | |||
@@ -317,8 +317,6 @@ static void __init omap_palmtt_map_io(void) | |||
317 | } | 317 | } |
318 | 318 | ||
319 | MACHINE_START(OMAP_PALMTT, "OMAP1510 based Palm Tungsten|T") | 319 | MACHINE_START(OMAP_PALMTT, "OMAP1510 based Palm Tungsten|T") |
320 | .phys_io = 0xfff00000, | ||
321 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
322 | .boot_params = 0x10000100, | 320 | .boot_params = 0x10000100, |
323 | .map_io = omap_palmtt_map_io, | 321 | .map_io = omap_palmtt_map_io, |
324 | .reserve = omap_reserve, | 322 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-palmz71.c b/arch/arm/mach-omap1/board-palmz71.c index 66362903b6e2..d7a245cef9a4 100644 --- a/arch/arm/mach-omap1/board-palmz71.c +++ b/arch/arm/mach-omap1/board-palmz71.c | |||
@@ -338,8 +338,6 @@ omap_palmz71_map_io(void) | |||
338 | } | 338 | } |
339 | 339 | ||
340 | MACHINE_START(OMAP_PALMZ71, "OMAP310 based Palm Zire71") | 340 | MACHINE_START(OMAP_PALMZ71, "OMAP310 based Palm Zire71") |
341 | .phys_io = 0xfff00000, | ||
342 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
343 | .boot_params = 0x10000100, | 341 | .boot_params = 0x10000100, |
344 | .map_io = omap_palmz71_map_io, | 342 | .map_io = omap_palmz71_map_io, |
345 | .reserve = omap_reserve, | 343 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-perseus2.c b/arch/arm/mach-omap1/board-perseus2.c index 34ab354758b0..a8d16a255c18 100644 --- a/arch/arm/mach-omap1/board-perseus2.c +++ b/arch/arm/mach-omap1/board-perseus2.c | |||
@@ -347,8 +347,6 @@ static void __init omap_perseus2_map_io(void) | |||
347 | 347 | ||
348 | MACHINE_START(OMAP_PERSEUS2, "OMAP730 Perseus2") | 348 | MACHINE_START(OMAP_PERSEUS2, "OMAP730 Perseus2") |
349 | /* Maintainer: Kevin Hilman <kjh@hilman.org> */ | 349 | /* Maintainer: Kevin Hilman <kjh@hilman.org> */ |
350 | .phys_io = 0xfff00000, | ||
351 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
352 | .boot_params = 0x10000100, | 350 | .boot_params = 0x10000100, |
353 | .map_io = omap_perseus2_map_io, | 351 | .map_io = omap_perseus2_map_io, |
354 | .reserve = omap_reserve, | 352 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-sx1.c b/arch/arm/mach-omap1/board-sx1.c index 2eb148b8de93..d25f59e5a773 100644 --- a/arch/arm/mach-omap1/board-sx1.c +++ b/arch/arm/mach-omap1/board-sx1.c | |||
@@ -419,8 +419,6 @@ static void __init omap_sx1_map_io(void) | |||
419 | } | 419 | } |
420 | 420 | ||
421 | MACHINE_START(SX1, "OMAP310 based Siemens SX1") | 421 | MACHINE_START(SX1, "OMAP310 based Siemens SX1") |
422 | .phys_io = 0xfff00000, | ||
423 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
424 | .boot_params = 0x10000100, | 422 | .boot_params = 0x10000100, |
425 | .map_io = omap_sx1_map_io, | 423 | .map_io = omap_sx1_map_io, |
426 | .reserve = omap_reserve, | 424 | .reserve = omap_reserve, |
diff --git a/arch/arm/mach-omap1/board-voiceblue.c b/arch/arm/mach-omap1/board-voiceblue.c index 6b3cf14bc757..f5992c239bcd 100644 --- a/arch/arm/mach-omap1/board-voiceblue.c +++ b/arch/arm/mach-omap1/board-voiceblue.c | |||
@@ -283,8 +283,6 @@ EXPORT_SYMBOL(voiceblue_wdt_ping); | |||
283 | 283 | ||
284 | MACHINE_START(VOICEBLUE, "VoiceBlue OMAP5910") | 284 | MACHINE_START(VOICEBLUE, "VoiceBlue OMAP5910") |
285 | /* Maintainer: Ladislav Michl <michl@2n.cz> */ | 285 | /* Maintainer: Ladislav Michl <michl@2n.cz> */ |
286 | .phys_io = 0xfff00000, | ||
287 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, | ||
288 | .boot_params = 0x10000100, | 286 | .boot_params = 0x10000100, |
289 | .map_io = voiceblue_map_io, | 287 | .map_io = voiceblue_map_io, |
290 | .reserve = omap_reserve, | 288 | .reserve = omap_reserve, |