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-s5pv310 | |
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-s5pv310')
-rw-r--r-- | arch/arm/mach-s5pv310/mach-smdkv310.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5pv310/mach-universal_c210.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-s5pv310/mach-smdkv310.c b/arch/arm/mach-s5pv310/mach-smdkv310.c index 0d6ab77709d2..46215a14b3bb 100644 --- a/arch/arm/mach-s5pv310/mach-smdkv310.c +++ b/arch/arm/mach-s5pv310/mach-smdkv310.c | |||
@@ -82,8 +82,6 @@ static void __init smdkv310_machine_init(void) | |||
82 | MACHINE_START(SMDKV310, "SMDKV310") | 82 | MACHINE_START(SMDKV310, "SMDKV310") |
83 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ | 83 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ |
84 | /* Maintainer: Changhwan Youn <chaos.youn@samsung.com> */ | 84 | /* Maintainer: Changhwan Youn <chaos.youn@samsung.com> */ |
85 | .phys_io = S3C_PA_UART & 0xfff00000, | ||
86 | .io_pg_offst = (((u32)S3C_VA_UART) >> 18) & 0xfffc, | ||
87 | .boot_params = S5P_PA_SDRAM + 0x100, | 85 | .boot_params = S5P_PA_SDRAM + 0x100, |
88 | .init_irq = s5pv310_init_irq, | 86 | .init_irq = s5pv310_init_irq, |
89 | .map_io = smdkv310_map_io, | 87 | .map_io = smdkv310_map_io, |
diff --git a/arch/arm/mach-s5pv310/mach-universal_c210.c b/arch/arm/mach-s5pv310/mach-universal_c210.c index 2388cb947936..d7c2ec770f88 100644 --- a/arch/arm/mach-s5pv310/mach-universal_c210.c +++ b/arch/arm/mach-s5pv310/mach-universal_c210.c | |||
@@ -76,8 +76,6 @@ static void __init universal_machine_init(void) | |||
76 | 76 | ||
77 | MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210") | 77 | MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210") |
78 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ | 78 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ |
79 | .phys_io = S3C_PA_UART & 0xfff00000, | ||
80 | .io_pg_offst = (((u32)S3C_VA_UART) >> 18) & 0xfffc, | ||
81 | .boot_params = S5P_PA_SDRAM + 0x100, | 79 | .boot_params = S5P_PA_SDRAM + 0x100, |
82 | .init_irq = s5pv310_init_irq, | 80 | .init_irq = s5pv310_init_irq, |
83 | .map_io = universal_map_io, | 81 | .map_io = universal_map_io, |