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-s5pv210 | |
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-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-aquila.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkc110.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index bf772de6b0c3..00883087363c 100644 --- a/arch/arm/mach-s5pv210/mach-aquila.c +++ b/arch/arm/mach-s5pv210/mach-aquila.c | |||
@@ -516,8 +516,6 @@ MACHINE_START(AQUILA, "Aquila") | |||
516 | /* Maintainers: | 516 | /* Maintainers: |
517 | Marek Szyprowski <m.szyprowski@samsung.com> | 517 | Marek Szyprowski <m.szyprowski@samsung.com> |
518 | Kyungmin Park <kyungmin.park@samsung.com> */ | 518 | Kyungmin Park <kyungmin.park@samsung.com> */ |
519 | .phys_io = S3C_PA_UART & 0xfff00000, | ||
520 | .io_pg_offst = (((u32)S3C_VA_UART) >> 18) & 0xfffc, | ||
521 | .boot_params = S5P_PA_SDRAM + 0x100, | 519 | .boot_params = S5P_PA_SDRAM + 0x100, |
522 | .init_irq = s5pv210_init_irq, | 520 | .init_irq = s5pv210_init_irq, |
523 | .map_io = aquila_map_io, | 521 | .map_io = aquila_map_io, |
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index fdc5cca4eb41..d9ecf57fc2a5 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -491,8 +491,6 @@ static void __init goni_machine_init(void) | |||
491 | 491 | ||
492 | MACHINE_START(GONI, "GONI") | 492 | MACHINE_START(GONI, "GONI") |
493 | /* Maintainers: Kyungmin Park <kyungmin.park@samsung.com> */ | 493 | /* Maintainers: Kyungmin Park <kyungmin.park@samsung.com> */ |
494 | .phys_io = S3C_PA_UART & 0xfff00000, | ||
495 | .io_pg_offst = (((u32)S3C_VA_UART) >> 18) & 0xfffc, | ||
496 | .boot_params = S5P_PA_SDRAM + 0x100, | 494 | .boot_params = S5P_PA_SDRAM + 0x100, |
497 | .init_irq = s5pv210_init_irq, | 495 | .init_irq = s5pv210_init_irq, |
498 | .map_io = goni_map_io, | 496 | .map_io = goni_map_io, |
diff --git a/arch/arm/mach-s5pv210/mach-smdkc110.c b/arch/arm/mach-s5pv210/mach-smdkc110.c index 8211bb87c54b..cea9bca79d88 100644 --- a/arch/arm/mach-s5pv210/mach-smdkc110.c +++ b/arch/arm/mach-s5pv210/mach-smdkc110.c | |||
@@ -127,8 +127,6 @@ static void __init smdkc110_machine_init(void) | |||
127 | 127 | ||
128 | MACHINE_START(SMDKC110, "SMDKC110") | 128 | MACHINE_START(SMDKC110, "SMDKC110") |
129 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ | 129 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ |
130 | .phys_io = S3C_PA_UART & 0xfff00000, | ||
131 | .io_pg_offst = (((u32)S3C_VA_UART) >> 18) & 0xfffc, | ||
132 | .boot_params = S5P_PA_SDRAM + 0x100, | 130 | .boot_params = S5P_PA_SDRAM + 0x100, |
133 | .init_irq = s5pv210_init_irq, | 131 | .init_irq = s5pv210_init_irq, |
134 | .map_io = smdkc110_map_io, | 132 | .map_io = smdkc110_map_io, |
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index fbbc0a3c3738..83189ae9da9a 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -165,8 +165,6 @@ static void __init smdkv210_machine_init(void) | |||
165 | 165 | ||
166 | MACHINE_START(SMDKV210, "SMDKV210") | 166 | MACHINE_START(SMDKV210, "SMDKV210") |
167 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ | 167 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ |
168 | .phys_io = S3C_PA_UART & 0xfff00000, | ||
169 | .io_pg_offst = (((u32)S3C_VA_UART) >> 18) & 0xfffc, | ||
170 | .boot_params = S5P_PA_SDRAM + 0x100, | 168 | .boot_params = S5P_PA_SDRAM + 0x100, |
171 | .init_irq = s5pv210_init_irq, | 169 | .init_irq = s5pv210_init_irq, |
172 | .map_io = smdkv210_map_io, | 170 | .map_io = smdkv210_map_io, |