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-msm/board-msm7x30.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-msm/board-msm7x30.c')
-rw-r--r-- | arch/arm/mach-msm/board-msm7x30.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c index 76d5a22a6984..05241df3f9b6 100644 --- a/arch/arm/mach-msm/board-msm7x30.c +++ b/arch/arm/mach-msm/board-msm7x30.c | |||
@@ -64,8 +64,6 @@ static void __init msm7x30_map_io(void) | |||
64 | 64 | ||
65 | MACHINE_START(MSM7X30_SURF, "QCT MSM7X30 SURF") | 65 | MACHINE_START(MSM7X30_SURF, "QCT MSM7X30 SURF") |
66 | #ifdef CONFIG_MSM_DEBUG_UART | 66 | #ifdef CONFIG_MSM_DEBUG_UART |
67 | .phys_io = MSM_DEBUG_UART_PHYS, | ||
68 | .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc, | ||
69 | #endif | 67 | #endif |
70 | .boot_params = PHYS_OFFSET + 0x100, | 68 | .boot_params = PHYS_OFFSET + 0x100, |
71 | .map_io = msm7x30_map_io, | 69 | .map_io = msm7x30_map_io, |
@@ -76,8 +74,6 @@ MACHINE_END | |||
76 | 74 | ||
77 | MACHINE_START(MSM7X30_FFA, "QCT MSM7X30 FFA") | 75 | MACHINE_START(MSM7X30_FFA, "QCT MSM7X30 FFA") |
78 | #ifdef CONFIG_MSM_DEBUG_UART | 76 | #ifdef CONFIG_MSM_DEBUG_UART |
79 | .phys_io = MSM_DEBUG_UART_PHYS, | ||
80 | .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc, | ||
81 | #endif | 77 | #endif |
82 | .boot_params = PHYS_OFFSET + 0x100, | 78 | .boot_params = PHYS_OFFSET + 0x100, |
83 | .map_io = msm7x30_map_io, | 79 | .map_io = msm7x30_map_io, |
@@ -88,8 +84,6 @@ MACHINE_END | |||
88 | 84 | ||
89 | MACHINE_START(MSM7X30_FLUID, "QCT MSM7X30 FLUID") | 85 | MACHINE_START(MSM7X30_FLUID, "QCT MSM7X30 FLUID") |
90 | #ifdef CONFIG_MSM_DEBUG_UART | 86 | #ifdef CONFIG_MSM_DEBUG_UART |
91 | .phys_io = MSM_DEBUG_UART_PHYS, | ||
92 | .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc, | ||
93 | #endif | 87 | #endif |
94 | .boot_params = PHYS_OFFSET + 0x100, | 88 | .boot_params = PHYS_OFFSET + 0x100, |
95 | .map_io = msm7x30_map_io, | 89 | .map_io = msm7x30_map_io, |