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/raumfeld.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/raumfeld.c')
-rw-r--r-- | arch/arm/mach-pxa/raumfeld.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/raumfeld.c b/arch/arm/mach-pxa/raumfeld.c index 67e04f4e07c1..4121d03ea2c3 100644 --- a/arch/arm/mach-pxa/raumfeld.c +++ b/arch/arm/mach-pxa/raumfeld.c | |||
@@ -1083,8 +1083,6 @@ static void __init raumfeld_speaker_init(void) | |||
1083 | 1083 | ||
1084 | #ifdef CONFIG_MACH_RAUMFELD_RC | 1084 | #ifdef CONFIG_MACH_RAUMFELD_RC |
1085 | MACHINE_START(RAUMFELD_RC, "Raumfeld Controller") | 1085 | MACHINE_START(RAUMFELD_RC, "Raumfeld Controller") |
1086 | .phys_io = 0x40000000, | ||
1087 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
1088 | .boot_params = RAUMFELD_SDRAM_BASE + 0x100, | 1086 | .boot_params = RAUMFELD_SDRAM_BASE + 0x100, |
1089 | .init_machine = raumfeld_controller_init, | 1087 | .init_machine = raumfeld_controller_init, |
1090 | .map_io = pxa_map_io, | 1088 | .map_io = pxa_map_io, |
@@ -1095,8 +1093,6 @@ MACHINE_END | |||
1095 | 1093 | ||
1096 | #ifdef CONFIG_MACH_RAUMFELD_CONNECTOR | 1094 | #ifdef CONFIG_MACH_RAUMFELD_CONNECTOR |
1097 | MACHINE_START(RAUMFELD_CONNECTOR, "Raumfeld Connector") | 1095 | MACHINE_START(RAUMFELD_CONNECTOR, "Raumfeld Connector") |
1098 | .phys_io = 0x40000000, | ||
1099 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
1100 | .boot_params = RAUMFELD_SDRAM_BASE + 0x100, | 1096 | .boot_params = RAUMFELD_SDRAM_BASE + 0x100, |
1101 | .init_machine = raumfeld_connector_init, | 1097 | .init_machine = raumfeld_connector_init, |
1102 | .map_io = pxa_map_io, | 1098 | .map_io = pxa_map_io, |
@@ -1107,8 +1103,6 @@ MACHINE_END | |||
1107 | 1103 | ||
1108 | #ifdef CONFIG_MACH_RAUMFELD_SPEAKER | 1104 | #ifdef CONFIG_MACH_RAUMFELD_SPEAKER |
1109 | MACHINE_START(RAUMFELD_SPEAKER, "Raumfeld Speaker") | 1105 | MACHINE_START(RAUMFELD_SPEAKER, "Raumfeld Speaker") |
1110 | .phys_io = 0x40000000, | ||
1111 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
1112 | .boot_params = RAUMFELD_SDRAM_BASE + 0x100, | 1106 | .boot_params = RAUMFELD_SDRAM_BASE + 0x100, |
1113 | .init_machine = raumfeld_speaker_init, | 1107 | .init_machine = raumfeld_speaker_init, |
1114 | .map_io = pxa_map_io, | 1108 | .map_io = pxa_map_io, |