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-sam9g20ek.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-sam9g20ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9g20ek.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index b463e340c4a0..ca8198b3c168 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
@@ -406,8 +406,6 @@ static void __init ek_board_init(void) | |||
406 | 406 | ||
407 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") | 407 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") |
408 | /* Maintainer: Atmel */ | 408 | /* Maintainer: Atmel */ |
409 | .phys_io = AT91_BASE_SYS, | ||
410 | .io_pg_offst = (AT91_VA_BASE_SYS >> 18) & 0xfffc, | ||
411 | .boot_params = AT91_SDRAM_BASE + 0x100, | 409 | .boot_params = AT91_SDRAM_BASE + 0x100, |
412 | .timer = &at91sam926x_timer, | 410 | .timer = &at91sam926x_timer, |
413 | .map_io = ek_map_io, | 411 | .map_io = ek_map_io, |
@@ -417,8 +415,6 @@ MACHINE_END | |||
417 | 415 | ||
418 | MACHINE_START(AT91SAM9G20EK_2MMC, "Atmel AT91SAM9G20-EK 2 MMC Slot Mod") | 416 | MACHINE_START(AT91SAM9G20EK_2MMC, "Atmel AT91SAM9G20-EK 2 MMC Slot Mod") |
419 | /* Maintainer: Atmel */ | 417 | /* Maintainer: Atmel */ |
420 | .phys_io = AT91_BASE_SYS, | ||
421 | .io_pg_offst = (AT91_VA_BASE_SYS >> 18) & 0xfffc, | ||
422 | .boot_params = AT91_SDRAM_BASE + 0x100, | 418 | .boot_params = AT91_SDRAM_BASE + 0x100, |
423 | .timer = &at91sam926x_timer, | 419 | .timer = &at91sam926x_timer, |
424 | .map_io = ek_map_io, | 420 | .map_io = ek_map_io, |