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-lh7a40x | |
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-lh7a40x')
-rw-r--r-- | arch/arm/mach-lh7a40x/arch-kev7a400.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-lh7a40x/arch-lpd7a40x.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-lh7a40x/arch-kev7a400.c b/arch/arm/mach-lh7a40x/arch-kev7a400.c index 3d7bd50b9095..9088c16662e8 100644 --- a/arch/arm/mach-lh7a40x/arch-kev7a400.c +++ b/arch/arm/mach-lh7a40x/arch-kev7a400.c | |||
@@ -111,8 +111,6 @@ void __init lh7a40x_init_board_irq (void) | |||
111 | 111 | ||
112 | MACHINE_START (KEV7A400, "Sharp KEV7a400") | 112 | MACHINE_START (KEV7A400, "Sharp KEV7a400") |
113 | /* Maintainer: Marc Singer */ | 113 | /* Maintainer: Marc Singer */ |
114 | .phys_io = 0x80000000, | ||
115 | .io_pg_offst = ((io_p2v (0x80000000))>>18) & 0xfffc, | ||
116 | .boot_params = 0xc0000100, | 114 | .boot_params = 0xc0000100, |
117 | .map_io = kev7a400_map_io, | 115 | .map_io = kev7a400_map_io, |
118 | .init_irq = lh7a400_init_irq, | 116 | .init_irq = lh7a400_init_irq, |
diff --git a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c index cb15e5d32120..7315a569aea1 100644 --- a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c +++ b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c | |||
@@ -398,8 +398,6 @@ lpd7a40x_map_io(void) | |||
398 | 398 | ||
399 | MACHINE_START (LPD7A400, "Logic Product Development LPD7A400-10") | 399 | MACHINE_START (LPD7A400, "Logic Product Development LPD7A400-10") |
400 | /* Maintainer: Marc Singer */ | 400 | /* Maintainer: Marc Singer */ |
401 | .phys_io = 0x80000000, | ||
402 | .io_pg_offst = ((io_p2v (0x80000000))>>18) & 0xfffc, | ||
403 | .boot_params = 0xc0000100, | 401 | .boot_params = 0xc0000100, |
404 | .map_io = lpd7a40x_map_io, | 402 | .map_io = lpd7a40x_map_io, |
405 | .init_irq = lh7a400_init_irq, | 403 | .init_irq = lh7a400_init_irq, |
@@ -413,8 +411,6 @@ MACHINE_END | |||
413 | 411 | ||
414 | MACHINE_START (LPD7A404, "Logic Product Development LPD7A404-10") | 412 | MACHINE_START (LPD7A404, "Logic Product Development LPD7A404-10") |
415 | /* Maintainer: Marc Singer */ | 413 | /* Maintainer: Marc Singer */ |
416 | .phys_io = 0x80000000, | ||
417 | .io_pg_offst = ((io_p2v (0x80000000))>>18) & 0xfffc, | ||
418 | .boot_params = 0xc0000100, | 414 | .boot_params = 0xc0000100, |
419 | .map_io = lpd7a40x_map_io, | 415 | .map_io = lpd7a40x_map_io, |
420 | .init_irq = lh7a404_init_irq, | 416 | .init_irq = lh7a404_init_irq, |