aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx
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-ep93xx
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-ep93xx')
-rw-r--r--arch/arm/mach-ep93xx/adssphere.c2
-rw-r--r--arch/arm/mach-ep93xx/edb93xx.c16
-rw-r--r--arch/arm/mach-ep93xx/gesbc9312.c2
-rw-r--r--arch/arm/mach-ep93xx/micro9.c8
-rw-r--r--arch/arm/mach-ep93xx/simone.c2
-rw-r--r--arch/arm/mach-ep93xx/snappercl15.c2
-rw-r--r--arch/arm/mach-ep93xx/ts72xx.c2
7 files changed, 0 insertions, 34 deletions
diff --git a/arch/arm/mach-ep93xx/adssphere.c b/arch/arm/mach-ep93xx/adssphere.c
index f744f676783f..61b98ce4b673 100644
--- a/arch/arm/mach-ep93xx/adssphere.c
+++ b/arch/arm/mach-ep93xx/adssphere.c
@@ -33,8 +33,6 @@ static void __init adssphere_init_machine(void)
33 33
34MACHINE_START(ADSSPHERE, "ADS Sphere board") 34MACHINE_START(ADSSPHERE, "ADS Sphere board")
35 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ 35 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
36 .phys_io = EP93XX_APB_PHYS_BASE,
37 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
38 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 36 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
39 .map_io = ep93xx_map_io, 37 .map_io = ep93xx_map_io,
40 .init_irq = ep93xx_init_irq, 38 .init_irq = ep93xx_init_irq,
diff --git a/arch/arm/mach-ep93xx/edb93xx.c b/arch/arm/mach-ep93xx/edb93xx.c
index c2ce9034ba87..4b0431652131 100644
--- a/arch/arm/mach-ep93xx/edb93xx.c
+++ b/arch/arm/mach-ep93xx/edb93xx.c
@@ -124,8 +124,6 @@ static void __init edb93xx_init_machine(void)
124#ifdef CONFIG_MACH_EDB9301 124#ifdef CONFIG_MACH_EDB9301
125MACHINE_START(EDB9301, "Cirrus Logic EDB9301 Evaluation Board") 125MACHINE_START(EDB9301, "Cirrus Logic EDB9301 Evaluation Board")
126 /* Maintainer: H Hartley Sweeten <hsweeten@visionengravers.com> */ 126 /* Maintainer: H Hartley Sweeten <hsweeten@visionengravers.com> */
127 .phys_io = EP93XX_APB_PHYS_BASE,
128 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
129 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 127 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
130 .map_io = ep93xx_map_io, 128 .map_io = ep93xx_map_io,
131 .init_irq = ep93xx_init_irq, 129 .init_irq = ep93xx_init_irq,
@@ -137,8 +135,6 @@ MACHINE_END
137#ifdef CONFIG_MACH_EDB9302 135#ifdef CONFIG_MACH_EDB9302
138MACHINE_START(EDB9302, "Cirrus Logic EDB9302 Evaluation Board") 136MACHINE_START(EDB9302, "Cirrus Logic EDB9302 Evaluation Board")
139 /* Maintainer: George Kashperko <george@chas.com.ua> */ 137 /* Maintainer: George Kashperko <george@chas.com.ua> */
140 .phys_io = EP93XX_APB_PHYS_BASE,
141 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
142 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 138 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
143 .map_io = ep93xx_map_io, 139 .map_io = ep93xx_map_io,
144 .init_irq = ep93xx_init_irq, 140 .init_irq = ep93xx_init_irq,
@@ -150,8 +146,6 @@ MACHINE_END
150#ifdef CONFIG_MACH_EDB9302A 146#ifdef CONFIG_MACH_EDB9302A
151MACHINE_START(EDB9302A, "Cirrus Logic EDB9302A Evaluation Board") 147MACHINE_START(EDB9302A, "Cirrus Logic EDB9302A Evaluation Board")
152 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ 148 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
153 .phys_io = EP93XX_APB_PHYS_BASE,
154 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
155 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, 149 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100,
156 .map_io = ep93xx_map_io, 150 .map_io = ep93xx_map_io,
157 .init_irq = ep93xx_init_irq, 151 .init_irq = ep93xx_init_irq,
@@ -163,8 +157,6 @@ MACHINE_END
163#ifdef CONFIG_MACH_EDB9307 157#ifdef CONFIG_MACH_EDB9307
164MACHINE_START(EDB9307, "Cirrus Logic EDB9307 Evaluation Board") 158MACHINE_START(EDB9307, "Cirrus Logic EDB9307 Evaluation Board")
165 /* Maintainer: Herbert Valerio Riedel <hvr@gnu.org> */ 159 /* Maintainer: Herbert Valerio Riedel <hvr@gnu.org> */
166 .phys_io = EP93XX_APB_PHYS_BASE,
167 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
168 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 160 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
169 .map_io = ep93xx_map_io, 161 .map_io = ep93xx_map_io,
170 .init_irq = ep93xx_init_irq, 162 .init_irq = ep93xx_init_irq,
@@ -176,8 +168,6 @@ MACHINE_END
176#ifdef CONFIG_MACH_EDB9307A 168#ifdef CONFIG_MACH_EDB9307A
177MACHINE_START(EDB9307A, "Cirrus Logic EDB9307A Evaluation Board") 169MACHINE_START(EDB9307A, "Cirrus Logic EDB9307A Evaluation Board")
178 /* Maintainer: H Hartley Sweeten <hsweeten@visionengravers.com> */ 170 /* Maintainer: H Hartley Sweeten <hsweeten@visionengravers.com> */
179 .phys_io = EP93XX_APB_PHYS_BASE,
180 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
181 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, 171 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100,
182 .map_io = ep93xx_map_io, 172 .map_io = ep93xx_map_io,
183 .init_irq = ep93xx_init_irq, 173 .init_irq = ep93xx_init_irq,
@@ -189,8 +179,6 @@ MACHINE_END
189#ifdef CONFIG_MACH_EDB9312 179#ifdef CONFIG_MACH_EDB9312
190MACHINE_START(EDB9312, "Cirrus Logic EDB9312 Evaluation Board") 180MACHINE_START(EDB9312, "Cirrus Logic EDB9312 Evaluation Board")
191 /* Maintainer: Toufeeq Hussain <toufeeq_hussain@infosys.com> */ 181 /* Maintainer: Toufeeq Hussain <toufeeq_hussain@infosys.com> */
192 .phys_io = EP93XX_APB_PHYS_BASE,
193 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
194 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 182 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
195 .map_io = ep93xx_map_io, 183 .map_io = ep93xx_map_io,
196 .init_irq = ep93xx_init_irq, 184 .init_irq = ep93xx_init_irq,
@@ -202,8 +190,6 @@ MACHINE_END
202#ifdef CONFIG_MACH_EDB9315 190#ifdef CONFIG_MACH_EDB9315
203MACHINE_START(EDB9315, "Cirrus Logic EDB9315 Evaluation Board") 191MACHINE_START(EDB9315, "Cirrus Logic EDB9315 Evaluation Board")
204 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ 192 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
205 .phys_io = EP93XX_APB_PHYS_BASE,
206 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
207 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 193 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
208 .map_io = ep93xx_map_io, 194 .map_io = ep93xx_map_io,
209 .init_irq = ep93xx_init_irq, 195 .init_irq = ep93xx_init_irq,
@@ -215,8 +201,6 @@ MACHINE_END
215#ifdef CONFIG_MACH_EDB9315A 201#ifdef CONFIG_MACH_EDB9315A
216MACHINE_START(EDB9315A, "Cirrus Logic EDB9315A Evaluation Board") 202MACHINE_START(EDB9315A, "Cirrus Logic EDB9315A Evaluation Board")
217 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ 203 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
218 .phys_io = EP93XX_APB_PHYS_BASE,
219 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
220 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, 204 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100,
221 .map_io = ep93xx_map_io, 205 .map_io = ep93xx_map_io,
222 .init_irq = ep93xx_init_irq, 206 .init_irq = ep93xx_init_irq,
diff --git a/arch/arm/mach-ep93xx/gesbc9312.c b/arch/arm/mach-ep93xx/gesbc9312.c
index d97168c0ba33..9bd3152bff9a 100644
--- a/arch/arm/mach-ep93xx/gesbc9312.c
+++ b/arch/arm/mach-ep93xx/gesbc9312.c
@@ -33,8 +33,6 @@ static void __init gesbc9312_init_machine(void)
33 33
34MACHINE_START(GESBC9312, "Glomation GESBC-9312-sx") 34MACHINE_START(GESBC9312, "Glomation GESBC-9312-sx")
35 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ 35 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
36 .phys_io = EP93XX_APB_PHYS_BASE,
37 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
38 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 36 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
39 .map_io = ep93xx_map_io, 37 .map_io = ep93xx_map_io,
40 .init_irq = ep93xx_init_irq, 38 .init_irq = ep93xx_init_irq,
diff --git a/arch/arm/mach-ep93xx/micro9.c b/arch/arm/mach-ep93xx/micro9.c
index 2ba776320a82..7adea6258efe 100644
--- a/arch/arm/mach-ep93xx/micro9.c
+++ b/arch/arm/mach-ep93xx/micro9.c
@@ -77,8 +77,6 @@ static void __init micro9_init_machine(void)
77#ifdef CONFIG_MACH_MICRO9H 77#ifdef CONFIG_MACH_MICRO9H
78MACHINE_START(MICRO9, "Contec Micro9-High") 78MACHINE_START(MICRO9, "Contec Micro9-High")
79 /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */ 79 /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */
80 .phys_io = EP93XX_APB_PHYS_BASE,
81 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
82 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 80 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
83 .map_io = ep93xx_map_io, 81 .map_io = ep93xx_map_io,
84 .init_irq = ep93xx_init_irq, 82 .init_irq = ep93xx_init_irq,
@@ -90,8 +88,6 @@ MACHINE_END
90#ifdef CONFIG_MACH_MICRO9M 88#ifdef CONFIG_MACH_MICRO9M
91MACHINE_START(MICRO9M, "Contec Micro9-Mid") 89MACHINE_START(MICRO9M, "Contec Micro9-Mid")
92 /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */ 90 /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */
93 .phys_io = EP93XX_APB_PHYS_BASE,
94 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
95 .boot_params = EP93XX_SDCE3_PHYS_BASE_ASYNC + 0x100, 91 .boot_params = EP93XX_SDCE3_PHYS_BASE_ASYNC + 0x100,
96 .map_io = ep93xx_map_io, 92 .map_io = ep93xx_map_io,
97 .init_irq = ep93xx_init_irq, 93 .init_irq = ep93xx_init_irq,
@@ -103,8 +99,6 @@ MACHINE_END
103#ifdef CONFIG_MACH_MICRO9L 99#ifdef CONFIG_MACH_MICRO9L
104MACHINE_START(MICRO9L, "Contec Micro9-Lite") 100MACHINE_START(MICRO9L, "Contec Micro9-Lite")
105 /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */ 101 /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */
106 .phys_io = EP93XX_APB_PHYS_BASE,
107 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
108 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 102 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
109 .map_io = ep93xx_map_io, 103 .map_io = ep93xx_map_io,
110 .init_irq = ep93xx_init_irq, 104 .init_irq = ep93xx_init_irq,
@@ -116,8 +110,6 @@ MACHINE_END
116#ifdef CONFIG_MACH_MICRO9S 110#ifdef CONFIG_MACH_MICRO9S
117MACHINE_START(MICRO9S, "Contec Micro9-Slim") 111MACHINE_START(MICRO9S, "Contec Micro9-Slim")
118 /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */ 112 /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */
119 .phys_io = EP93XX_APB_PHYS_BASE,
120 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
121 .boot_params = EP93XX_SDCE3_PHYS_BASE_ASYNC + 0x100, 113 .boot_params = EP93XX_SDCE3_PHYS_BASE_ASYNC + 0x100,
122 .map_io = ep93xx_map_io, 114 .map_io = ep93xx_map_io,
123 .init_irq = ep93xx_init_irq, 115 .init_irq = ep93xx_init_irq,
diff --git a/arch/arm/mach-ep93xx/simone.c b/arch/arm/mach-ep93xx/simone.c
index 5dded5884133..f22ce8db7947 100644
--- a/arch/arm/mach-ep93xx/simone.c
+++ b/arch/arm/mach-ep93xx/simone.c
@@ -65,8 +65,6 @@ static void __init simone_init_machine(void)
65 65
66MACHINE_START(SIM_ONE, "Simplemachines Sim.One Board") 66MACHINE_START(SIM_ONE, "Simplemachines Sim.One Board")
67/* Maintainer: Ryan Mallon <ryan@bluewatersys.com> */ 67/* Maintainer: Ryan Mallon <ryan@bluewatersys.com> */
68 .phys_io = EP93XX_APB_PHYS_BASE,
69 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
70 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, 68 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100,
71 .map_io = ep93xx_map_io, 69 .map_io = ep93xx_map_io,
72 .init_irq = ep93xx_init_irq, 70 .init_irq = ep93xx_init_irq,
diff --git a/arch/arm/mach-ep93xx/snappercl15.c b/arch/arm/mach-ep93xx/snappercl15.c
index a12c89301297..ac601fe2b448 100644
--- a/arch/arm/mach-ep93xx/snappercl15.c
+++ b/arch/arm/mach-ep93xx/snappercl15.c
@@ -163,8 +163,6 @@ static void __init snappercl15_init_machine(void)
163 163
164MACHINE_START(SNAPPER_CL15, "Bluewater Systems Snapper CL15") 164MACHINE_START(SNAPPER_CL15, "Bluewater Systems Snapper CL15")
165 /* Maintainer: Ryan Mallon <ryan@bluewatersys.com> */ 165 /* Maintainer: Ryan Mallon <ryan@bluewatersys.com> */
166 .phys_io = EP93XX_APB_PHYS_BASE,
167 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
168 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100, 166 .boot_params = EP93XX_SDCE0_PHYS_BASE + 0x100,
169 .map_io = ep93xx_map_io, 167 .map_io = ep93xx_map_io,
170 .init_irq = ep93xx_init_irq, 168 .init_irq = ep93xx_init_irq,
diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c
index 93aeab8af705..c2d2cf40ead9 100644
--- a/arch/arm/mach-ep93xx/ts72xx.c
+++ b/arch/arm/mach-ep93xx/ts72xx.c
@@ -257,8 +257,6 @@ static void __init ts72xx_init_machine(void)
257 257
258MACHINE_START(TS72XX, "Technologic Systems TS-72xx SBC") 258MACHINE_START(TS72XX, "Technologic Systems TS-72xx SBC")
259 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ 259 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
260 .phys_io = EP93XX_APB_PHYS_BASE,
261 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
262 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, 260 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
263 .map_io = ts72xx_map_io, 261 .map_io = ts72xx_map_io,
264 .init_irq = ep93xx_init_irq, 262 .init_irq = ep93xx_init_irq,