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-at91/board-stamp9g20.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-at91/board-stamp9g20.c')
-rw-r--r-- | arch/arm/mach-at91/board-stamp9g20.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/board-stamp9g20.c b/arch/arm/mach-at91/board-stamp9g20.c index 87958274290f..5206eef4a67e 100644 --- a/arch/arm/mach-at91/board-stamp9g20.c +++ b/arch/arm/mach-at91/board-stamp9g20.c | |||
@@ -294,8 +294,6 @@ static void __init stamp9g20_board_init(void) | |||
294 | 294 | ||
295 | MACHINE_START(PORTUXG20, "taskit PortuxG20") | 295 | MACHINE_START(PORTUXG20, "taskit PortuxG20") |
296 | /* Maintainer: taskit GmbH */ | 296 | /* Maintainer: taskit GmbH */ |
297 | .phys_io = AT91_BASE_SYS, | ||
298 | .io_pg_offst = (AT91_VA_BASE_SYS >> 18) & 0xfffc, | ||
299 | .boot_params = AT91_SDRAM_BASE + 0x100, | 297 | .boot_params = AT91_SDRAM_BASE + 0x100, |
300 | .timer = &at91sam926x_timer, | 298 | .timer = &at91sam926x_timer, |
301 | .map_io = portuxg20_map_io, | 299 | .map_io = portuxg20_map_io, |
@@ -305,8 +303,6 @@ MACHINE_END | |||
305 | 303 | ||
306 | MACHINE_START(STAMP9G20, "taskit Stamp9G20") | 304 | MACHINE_START(STAMP9G20, "taskit Stamp9G20") |
307 | /* Maintainer: taskit GmbH */ | 305 | /* Maintainer: taskit GmbH */ |
308 | .phys_io = AT91_BASE_SYS, | ||
309 | .io_pg_offst = (AT91_VA_BASE_SYS >> 18) & 0xfffc, | ||
310 | .boot_params = AT91_SDRAM_BASE + 0x100, | 306 | .boot_params = AT91_SDRAM_BASE + 0x100, |
311 | .timer = &at91sam926x_timer, | 307 | .timer = &at91sam926x_timer, |
312 | .map_io = stamp9g20_map_io, | 308 | .map_io = stamp9g20_map_io, |