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-ep93xx/micro9.c | |
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-ep93xx/micro9.c')
-rw-r--r-- | arch/arm/mach-ep93xx/micro9.c | 8 |
1 files changed, 0 insertions, 8 deletions
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 |
78 | MACHINE_START(MICRO9, "Contec Micro9-High") | 78 | MACHINE_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 |
91 | MACHINE_START(MICRO9M, "Contec Micro9-Mid") | 89 | MACHINE_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 |
104 | MACHINE_START(MICRO9L, "Contec Micro9-Lite") | 100 | MACHINE_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 |
117 | MACHINE_START(MICRO9S, "Contec Micro9-Slim") | 111 | MACHINE_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, |