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-s3c2410 | |
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-s3c2410')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-amlm5900.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-bast.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-h1940.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-n30.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-otom.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-qt2410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-smdk2410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-tct_hammer.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-vr1000.c | 2 |
9 files changed, 0 insertions, 20 deletions
diff --git a/arch/arm/mach-s3c2410/mach-amlm5900.c b/arch/arm/mach-s3c2410/mach-amlm5900.c index 34fc05a4244b..44440cbd7620 100644 --- a/arch/arm/mach-s3c2410/mach-amlm5900.c +++ b/arch/arm/mach-s3c2410/mach-amlm5900.c | |||
@@ -241,8 +241,6 @@ static void __init amlm5900_init(void) | |||
241 | } | 241 | } |
242 | 242 | ||
243 | MACHINE_START(AML_M5900, "AML_M5900") | 243 | MACHINE_START(AML_M5900, "AML_M5900") |
244 | .phys_io = S3C2410_PA_UART, | ||
245 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
246 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 244 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
247 | .map_io = amlm5900_map_io, | 245 | .map_io = amlm5900_map_io, |
248 | .init_irq = s3c24xx_init_irq, | 246 | .init_irq = s3c24xx_init_irq, |
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index c1f90f6fab42..2970ea9f7c2b 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -664,8 +664,6 @@ static void __init bast_init(void) | |||
664 | 664 | ||
665 | MACHINE_START(BAST, "Simtec-BAST") | 665 | MACHINE_START(BAST, "Simtec-BAST") |
666 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ | 666 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ |
667 | .phys_io = S3C2410_PA_UART, | ||
668 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
669 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 667 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
670 | .map_io = bast_map_io, | 668 | .map_io = bast_map_io, |
671 | .init_irq = s3c24xx_init_irq, | 669 | .init_irq = s3c24xx_init_irq, |
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c index 3ba3bab139d0..98c5c9e81ee9 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c2410/mach-h1940.c | |||
@@ -350,8 +350,6 @@ static void __init h1940_init(void) | |||
350 | 350 | ||
351 | MACHINE_START(H1940, "IPAQ-H1940") | 351 | MACHINE_START(H1940, "IPAQ-H1940") |
352 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ | 352 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ |
353 | .phys_io = S3C2410_PA_UART, | ||
354 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
355 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 353 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
356 | .map_io = h1940_map_io, | 354 | .map_io = h1940_map_io, |
357 | .reserve = h1940_reserve, | 355 | .reserve = h1940_reserve, |
diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c index 41f299d983eb..271b9aa6d40a 100644 --- a/arch/arm/mach-s3c2410/mach-n30.c +++ b/arch/arm/mach-s3c2410/mach-n30.c | |||
@@ -605,8 +605,6 @@ MACHINE_START(N30, "Acer-N30") | |||
605 | /* Maintainer: Christer Weinigel <christer@weinigel.se>, | 605 | /* Maintainer: Christer Weinigel <christer@weinigel.se>, |
606 | Ben Dooks <ben-linux@fluff.org> | 606 | Ben Dooks <ben-linux@fluff.org> |
607 | */ | 607 | */ |
608 | .phys_io = S3C2410_PA_UART, | ||
609 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
610 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 608 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
611 | .timer = &s3c24xx_timer, | 609 | .timer = &s3c24xx_timer, |
612 | .init_machine = n30_init, | 610 | .init_machine = n30_init, |
@@ -617,8 +615,6 @@ MACHINE_END | |||
617 | MACHINE_START(N35, "Acer-N35") | 615 | MACHINE_START(N35, "Acer-N35") |
618 | /* Maintainer: Christer Weinigel <christer@weinigel.se> | 616 | /* Maintainer: Christer Weinigel <christer@weinigel.se> |
619 | */ | 617 | */ |
620 | .phys_io = S3C2410_PA_UART, | ||
621 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
622 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 618 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
623 | .timer = &s3c24xx_timer, | 619 | .timer = &s3c24xx_timer, |
624 | .init_machine = n30_init, | 620 | .init_machine = n30_init, |
diff --git a/arch/arm/mach-s3c2410/mach-otom.c b/arch/arm/mach-s3c2410/mach-otom.c index d8c7f2efc1a7..0aa16cd5acbc 100644 --- a/arch/arm/mach-s3c2410/mach-otom.c +++ b/arch/arm/mach-s3c2410/mach-otom.c | |||
@@ -116,8 +116,6 @@ static void __init otom11_init(void) | |||
116 | 116 | ||
117 | MACHINE_START(OTOM, "Nex Vision - Otom 1.1") | 117 | MACHINE_START(OTOM, "Nex Vision - Otom 1.1") |
118 | /* Maintainer: Guillaume GOURAT <guillaume.gourat@nexvision.tv> */ | 118 | /* Maintainer: Guillaume GOURAT <guillaume.gourat@nexvision.tv> */ |
119 | .phys_io = S3C2410_PA_UART, | ||
120 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
121 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 119 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
122 | .map_io = otom11_map_io, | 120 | .map_io = otom11_map_io, |
123 | .init_machine = otom11_init, | 121 | .init_machine = otom11_init, |
diff --git a/arch/arm/mach-s3c2410/mach-qt2410.c b/arch/arm/mach-s3c2410/mach-qt2410.c index d0e87b6e2e0f..e8f49feef28c 100644 --- a/arch/arm/mach-s3c2410/mach-qt2410.c +++ b/arch/arm/mach-s3c2410/mach-qt2410.c | |||
@@ -362,8 +362,6 @@ static void __init qt2410_machine_init(void) | |||
362 | } | 362 | } |
363 | 363 | ||
364 | MACHINE_START(QT2410, "QT2410") | 364 | MACHINE_START(QT2410, "QT2410") |
365 | .phys_io = S3C2410_PA_UART, | ||
366 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
367 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 365 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
368 | .map_io = qt2410_map_io, | 366 | .map_io = qt2410_map_io, |
369 | .init_irq = s3c24xx_init_irq, | 367 | .init_irq = s3c24xx_init_irq, |
diff --git a/arch/arm/mach-s3c2410/mach-smdk2410.c b/arch/arm/mach-s3c2410/mach-smdk2410.c index 452223042201..e17f03387aba 100644 --- a/arch/arm/mach-s3c2410/mach-smdk2410.c +++ b/arch/arm/mach-s3c2410/mach-smdk2410.c | |||
@@ -111,8 +111,6 @@ static void __init smdk2410_init(void) | |||
111 | MACHINE_START(SMDK2410, "SMDK2410") /* @TODO: request a new identifier and switch | 111 | MACHINE_START(SMDK2410, "SMDK2410") /* @TODO: request a new identifier and switch |
112 | * to SMDK2410 */ | 112 | * to SMDK2410 */ |
113 | /* Maintainer: Jonas Dietsche */ | 113 | /* Maintainer: Jonas Dietsche */ |
114 | .phys_io = S3C2410_PA_UART, | ||
115 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
116 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 114 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
117 | .map_io = smdk2410_map_io, | 115 | .map_io = smdk2410_map_io, |
118 | .init_irq = s3c24xx_init_irq, | 116 | .init_irq = s3c24xx_init_irq, |
diff --git a/arch/arm/mach-s3c2410/mach-tct_hammer.c b/arch/arm/mach-s3c2410/mach-tct_hammer.c index 929164a8e9b1..a15d0621c22f 100644 --- a/arch/arm/mach-s3c2410/mach-tct_hammer.c +++ b/arch/arm/mach-s3c2410/mach-tct_hammer.c | |||
@@ -152,8 +152,6 @@ static void __init tct_hammer_init(void) | |||
152 | } | 152 | } |
153 | 153 | ||
154 | MACHINE_START(TCT_HAMMER, "TCT_HAMMER") | 154 | MACHINE_START(TCT_HAMMER, "TCT_HAMMER") |
155 | .phys_io = S3C2410_PA_UART, | ||
156 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
157 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 155 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
158 | .map_io = tct_hammer_map_io, | 156 | .map_io = tct_hammer_map_io, |
159 | .init_irq = s3c24xx_init_irq, | 157 | .init_irq = s3c24xx_init_irq, |
diff --git a/arch/arm/mach-s3c2410/mach-vr1000.c b/arch/arm/mach-s3c2410/mach-vr1000.c index d540d79dd264..6ccce5a761b4 100644 --- a/arch/arm/mach-s3c2410/mach-vr1000.c +++ b/arch/arm/mach-s3c2410/mach-vr1000.c | |||
@@ -400,8 +400,6 @@ static void __init vr1000_init(void) | |||
400 | 400 | ||
401 | MACHINE_START(VR1000, "Thorcom-VR1000") | 401 | MACHINE_START(VR1000, "Thorcom-VR1000") |
402 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ | 402 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ |
403 | .phys_io = S3C2410_PA_UART, | ||
404 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
405 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 403 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
406 | .map_io = vr1000_map_io, | 404 | .map_io = vr1000_map_io, |
407 | .init_machine = vr1000_init, | 405 | .init_machine = vr1000_init, |