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-h720x | |
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-h720x')
-rw-r--r-- | arch/arm/mach-h720x/h7201-eval.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-h720x/h7202-eval.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-h720x/h7201-eval.c b/arch/arm/mach-h720x/h7201-eval.c index 78be457dc324..79f0b896e446 100644 --- a/arch/arm/mach-h720x/h7201-eval.c +++ b/arch/arm/mach-h720x/h7201-eval.c | |||
@@ -30,8 +30,6 @@ | |||
30 | 30 | ||
31 | MACHINE_START(H7201, "Hynix GMS30C7201") | 31 | MACHINE_START(H7201, "Hynix GMS30C7201") |
32 | /* Maintainer: Robert Schwebel, Pengutronix */ | 32 | /* Maintainer: Robert Schwebel, Pengutronix */ |
33 | .phys_io = 0x80000000, | ||
34 | .io_pg_offst = ((0xf0000000) >> 18) & 0xfffc, | ||
35 | .boot_params = 0xc0001000, | 33 | .boot_params = 0xc0001000, |
36 | .map_io = h720x_map_io, | 34 | .map_io = h720x_map_io, |
37 | .init_irq = h720x_init_irq, | 35 | .init_irq = h720x_init_irq, |
diff --git a/arch/arm/mach-h720x/h7202-eval.c b/arch/arm/mach-h720x/h7202-eval.c index 8c0ba99d683f..cc28b1efe047 100644 --- a/arch/arm/mach-h720x/h7202-eval.c +++ b/arch/arm/mach-h720x/h7202-eval.c | |||
@@ -72,8 +72,6 @@ static void __init init_eval_h7202(void) | |||
72 | 72 | ||
73 | MACHINE_START(H7202, "Hynix HMS30C7202") | 73 | MACHINE_START(H7202, "Hynix HMS30C7202") |
74 | /* Maintainer: Robert Schwebel, Pengutronix */ | 74 | /* Maintainer: Robert Schwebel, Pengutronix */ |
75 | .phys_io = 0x80000000, | ||
76 | .io_pg_offst = ((0xf0000000) >> 18) & 0xfffc, | ||
77 | .boot_params = 0x40000100, | 75 | .boot_params = 0x40000100, |
78 | .map_io = h720x_map_io, | 76 | .map_io = h720x_map_io, |
79 | .init_irq = h7202_init_irq, | 77 | .init_irq = h7202_init_irq, |