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-shmobile | |
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-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-g3evm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-g4evm.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 95935c83c306..14923989ea05 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -1105,8 +1105,6 @@ static struct sys_timer ap4evb_timer = { | |||
1105 | }; | 1105 | }; |
1106 | 1106 | ||
1107 | MACHINE_START(AP4EVB, "ap4evb") | 1107 | MACHINE_START(AP4EVB, "ap4evb") |
1108 | .phys_io = 0xe6000000, | ||
1109 | .io_pg_offst = ((0xe6000000) >> 18) & 0xfffc, | ||
1110 | .map_io = ap4evb_map_io, | 1108 | .map_io = ap4evb_map_io, |
1111 | .init_irq = sh7372_init_irq, | 1109 | .init_irq = sh7372_init_irq, |
1112 | .init_machine = ap4evb_init, | 1110 | .init_machine = ap4evb_init, |
diff --git a/arch/arm/mach-shmobile/board-g3evm.c b/arch/arm/mach-shmobile/board-g3evm.c index a5525901e91f..3b83d6320bec 100644 --- a/arch/arm/mach-shmobile/board-g3evm.c +++ b/arch/arm/mach-shmobile/board-g3evm.c | |||
@@ -365,8 +365,6 @@ static struct sys_timer g3evm_timer = { | |||
365 | }; | 365 | }; |
366 | 366 | ||
367 | MACHINE_START(G3EVM, "g3evm") | 367 | MACHINE_START(G3EVM, "g3evm") |
368 | .phys_io = 0xe6000000, | ||
369 | .io_pg_offst = ((0xe6000000) >> 18) & 0xfffc, | ||
370 | .map_io = g3evm_map_io, | 368 | .map_io = g3evm_map_io, |
371 | .init_irq = sh7367_init_irq, | 369 | .init_irq = sh7367_init_irq, |
372 | .init_machine = g3evm_init, | 370 | .init_machine = g3evm_init, |
diff --git a/arch/arm/mach-shmobile/board-g4evm.c b/arch/arm/mach-shmobile/board-g4evm.c index 2c3ff6f7f34c..5b3b582ef3f2 100644 --- a/arch/arm/mach-shmobile/board-g4evm.c +++ b/arch/arm/mach-shmobile/board-g4evm.c | |||
@@ -392,8 +392,6 @@ static struct sys_timer g4evm_timer = { | |||
392 | }; | 392 | }; |
393 | 393 | ||
394 | MACHINE_START(G4EVM, "g4evm") | 394 | MACHINE_START(G4EVM, "g4evm") |
395 | .phys_io = 0xe6000000, | ||
396 | .io_pg_offst = ((0xe6000000) >> 18) & 0xfffc, | ||
397 | .map_io = g4evm_map_io, | 395 | .map_io = g4evm_map_io, |
398 | .init_irq = sh7377_init_irq, | 396 | .init_irq = sh7377_init_irq, |
399 | .init_machine = g4evm_init, | 397 | .init_machine = g4evm_init, |