aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/board-msm7x27.c
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2010-10-14 22:21:46 -0400
committerNicolas Pitre <nico@fluxnic.net>2010-10-20 00:27:46 -0400
commit6451d7783ba5ff24eb1a544eaa6665b890f30466 (patch)
tree78651bbbed163fe933cd42deabebad682d7c03dc /arch/arm/mach-msm/board-msm7x27.c
parentc293393faa8e11a5a80a9e358718432b8697f451 (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-msm/board-msm7x27.c')
-rw-r--r--arch/arm/mach-msm/board-msm7x27.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-msm/board-msm7x27.c b/arch/arm/mach-msm/board-msm7x27.c
index db9381b85bf0..e7a76eff57d9 100644
--- a/arch/arm/mach-msm/board-msm7x27.c
+++ b/arch/arm/mach-msm/board-msm7x27.c
@@ -131,8 +131,6 @@ static void __init msm7x2x_map_io(void)
131 131
132MACHINE_START(MSM7X27_SURF, "QCT MSM7x27 SURF") 132MACHINE_START(MSM7X27_SURF, "QCT MSM7x27 SURF")
133#ifdef CONFIG_MSM_DEBUG_UART 133#ifdef CONFIG_MSM_DEBUG_UART
134 .phys_io = MSM_DEBUG_UART_PHYS,
135 .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
136#endif 134#endif
137 .boot_params = PHYS_OFFSET + 0x100, 135 .boot_params = PHYS_OFFSET + 0x100,
138 .map_io = msm7x2x_map_io, 136 .map_io = msm7x2x_map_io,
@@ -143,8 +141,6 @@ MACHINE_END
143 141
144MACHINE_START(MSM7X27_FFA, "QCT MSM7x27 FFA") 142MACHINE_START(MSM7X27_FFA, "QCT MSM7x27 FFA")
145#ifdef CONFIG_MSM_DEBUG_UART 143#ifdef CONFIG_MSM_DEBUG_UART
146 .phys_io = MSM_DEBUG_UART_PHYS,
147 .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
148#endif 144#endif
149 .boot_params = PHYS_OFFSET + 0x100, 145 .boot_params = PHYS_OFFSET + 0x100,
150 .map_io = msm7x2x_map_io, 146 .map_io = msm7x2x_map_io,
@@ -155,8 +151,6 @@ MACHINE_END
155 151
156MACHINE_START(MSM7X25_SURF, "QCT MSM7x25 SURF") 152MACHINE_START(MSM7X25_SURF, "QCT MSM7x25 SURF")
157#ifdef CONFIG_MSM_DEBUG_UART 153#ifdef CONFIG_MSM_DEBUG_UART
158 .phys_io = MSM_DEBUG_UART_PHYS,
159 .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
160#endif 154#endif
161 .boot_params = PHYS_OFFSET + 0x100, 155 .boot_params = PHYS_OFFSET + 0x100,
162 .map_io = msm7x2x_map_io, 156 .map_io = msm7x2x_map_io,
@@ -167,8 +161,6 @@ MACHINE_END
167 161
168MACHINE_START(MSM7X25_FFA, "QCT MSM7x25 FFA") 162MACHINE_START(MSM7X25_FFA, "QCT MSM7x25 FFA")
169#ifdef CONFIG_MSM_DEBUG_UART 163#ifdef CONFIG_MSM_DEBUG_UART
170 .phys_io = MSM_DEBUG_UART_PHYS,
171 .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
172#endif 164#endif
173 .boot_params = PHYS_OFFSET + 0x100, 165 .boot_params = PHYS_OFFSET + 0x100,
174 .map_io = msm7x2x_map_io, 166 .map_io = msm7x2x_map_io,