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-s3c2412 | |
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-s3c2412')
-rw-r--r-- | arch/arm/mach-s3c2412/mach-jive.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2412/mach-smdk2413.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-s3c2412/mach-vstms.c | 2 |
3 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-s3c2412/mach-jive.c b/arch/arm/mach-s3c2412/mach-jive.c index 478f4b4606c2..923e01bdf017 100644 --- a/arch/arm/mach-s3c2412/mach-jive.c +++ b/arch/arm/mach-s3c2412/mach-jive.c | |||
@@ -675,8 +675,6 @@ static void __init jive_machine_init(void) | |||
675 | 675 | ||
676 | MACHINE_START(JIVE, "JIVE") | 676 | MACHINE_START(JIVE, "JIVE") |
677 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ | 677 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ |
678 | .phys_io = S3C2410_PA_UART, | ||
679 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
680 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 678 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
681 | 679 | ||
682 | .init_irq = s3c24xx_init_irq, | 680 | .init_irq = s3c24xx_init_irq, |
diff --git a/arch/arm/mach-s3c2412/mach-smdk2413.c b/arch/arm/mach-s3c2412/mach-smdk2413.c index 054c9f92232a..8e5758bdd666 100644 --- a/arch/arm/mach-s3c2412/mach-smdk2413.c +++ b/arch/arm/mach-s3c2412/mach-smdk2413.c | |||
@@ -150,8 +150,6 @@ static void __init smdk2413_machine_init(void) | |||
150 | 150 | ||
151 | MACHINE_START(S3C2413, "S3C2413") | 151 | MACHINE_START(S3C2413, "S3C2413") |
152 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ | 152 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ |
153 | .phys_io = S3C2410_PA_UART, | ||
154 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
155 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 153 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
156 | 154 | ||
157 | .fixup = smdk2413_fixup, | 155 | .fixup = smdk2413_fixup, |
@@ -163,8 +161,6 @@ MACHINE_END | |||
163 | 161 | ||
164 | MACHINE_START(SMDK2412, "SMDK2412") | 162 | MACHINE_START(SMDK2412, "SMDK2412") |
165 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ | 163 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ |
166 | .phys_io = S3C2410_PA_UART, | ||
167 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
168 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 164 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
169 | 165 | ||
170 | .fixup = smdk2413_fixup, | 166 | .fixup = smdk2413_fixup, |
@@ -176,8 +172,6 @@ MACHINE_END | |||
176 | 172 | ||
177 | MACHINE_START(SMDK2413, "SMDK2413") | 173 | MACHINE_START(SMDK2413, "SMDK2413") |
178 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ | 174 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ |
179 | .phys_io = S3C2410_PA_UART, | ||
180 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
181 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 175 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
182 | 176 | ||
183 | .fixup = smdk2413_fixup, | 177 | .fixup = smdk2413_fixup, |
diff --git a/arch/arm/mach-s3c2412/mach-vstms.c b/arch/arm/mach-s3c2412/mach-vstms.c index f291ac25d312..83544ebe20ac 100644 --- a/arch/arm/mach-s3c2412/mach-vstms.c +++ b/arch/arm/mach-s3c2412/mach-vstms.c | |||
@@ -156,8 +156,6 @@ static void __init vstms_init(void) | |||
156 | } | 156 | } |
157 | 157 | ||
158 | MACHINE_START(VSTMS, "VSTMS") | 158 | MACHINE_START(VSTMS, "VSTMS") |
159 | .phys_io = S3C2410_PA_UART, | ||
160 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
161 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 159 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
162 | 160 | ||
163 | .fixup = vstms_fixup, | 161 | .fixup = vstms_fixup, |