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-footbridge | |
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-footbridge')
-rw-r--r-- | arch/arm/mach-footbridge/cats-hw.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/ebsa285.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/netwinder-hw.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/personal.c | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-footbridge/cats-hw.c b/arch/arm/mach-footbridge/cats-hw.c index 1b996b26d2e0..5b1a8db779be 100644 --- a/arch/arm/mach-footbridge/cats-hw.c +++ b/arch/arm/mach-footbridge/cats-hw.c | |||
@@ -86,8 +86,6 @@ fixup_cats(struct machine_desc *desc, struct tag *tags, | |||
86 | 86 | ||
87 | MACHINE_START(CATS, "Chalice-CATS") | 87 | MACHINE_START(CATS, "Chalice-CATS") |
88 | /* Maintainer: Philip Blundell */ | 88 | /* Maintainer: Philip Blundell */ |
89 | .phys_io = DC21285_ARMCSR_BASE, | ||
90 | .io_pg_offst = ((0xfe000000) >> 18) & 0xfffc, | ||
91 | .boot_params = 0x00000100, | 89 | .boot_params = 0x00000100, |
92 | .soft_reboot = 1, | 90 | .soft_reboot = 1, |
93 | .fixup = fixup_cats, | 91 | .fixup = fixup_cats, |
diff --git a/arch/arm/mach-footbridge/ebsa285.c b/arch/arm/mach-footbridge/ebsa285.c index 30040fd588cc..2ef69ff44ba8 100644 --- a/arch/arm/mach-footbridge/ebsa285.c +++ b/arch/arm/mach-footbridge/ebsa285.c | |||
@@ -15,8 +15,6 @@ | |||
15 | 15 | ||
16 | MACHINE_START(EBSA285, "EBSA285") | 16 | MACHINE_START(EBSA285, "EBSA285") |
17 | /* Maintainer: Russell King */ | 17 | /* Maintainer: Russell King */ |
18 | .phys_io = DC21285_ARMCSR_BASE, | ||
19 | .io_pg_offst = ((0xfe000000) >> 18) & 0xfffc, | ||
20 | .boot_params = 0x00000100, | 18 | .boot_params = 0x00000100, |
21 | .video_start = 0x000a0000, | 19 | .video_start = 0x000a0000, |
22 | .video_end = 0x000bffff, | 20 | .video_end = 0x000bffff, |
diff --git a/arch/arm/mach-footbridge/netwinder-hw.c b/arch/arm/mach-footbridge/netwinder-hw.c index ac7ffa6fc413..06e514f372d0 100644 --- a/arch/arm/mach-footbridge/netwinder-hw.c +++ b/arch/arm/mach-footbridge/netwinder-hw.c | |||
@@ -648,8 +648,6 @@ fixup_netwinder(struct machine_desc *desc, struct tag *tags, | |||
648 | 648 | ||
649 | MACHINE_START(NETWINDER, "Rebel-NetWinder") | 649 | MACHINE_START(NETWINDER, "Rebel-NetWinder") |
650 | /* Maintainer: Russell King/Rebel.com */ | 650 | /* Maintainer: Russell King/Rebel.com */ |
651 | .phys_io = DC21285_ARMCSR_BASE, | ||
652 | .io_pg_offst = ((0xfe000000) >> 18) & 0xfffc, | ||
653 | .boot_params = 0x00000100, | 651 | .boot_params = 0x00000100, |
654 | .video_start = 0x000a0000, | 652 | .video_start = 0x000a0000, |
655 | .video_end = 0x000bffff, | 653 | .video_end = 0x000bffff, |
diff --git a/arch/arm/mach-footbridge/personal.c b/arch/arm/mach-footbridge/personal.c index e2c9f0690b16..3285e91ca8c1 100644 --- a/arch/arm/mach-footbridge/personal.c +++ b/arch/arm/mach-footbridge/personal.c | |||
@@ -15,8 +15,6 @@ | |||
15 | 15 | ||
16 | MACHINE_START(PERSONAL_SERVER, "Compaq-PersonalServer") | 16 | MACHINE_START(PERSONAL_SERVER, "Compaq-PersonalServer") |
17 | /* Maintainer: Jamey Hicks / George France */ | 17 | /* Maintainer: Jamey Hicks / George France */ |
18 | .phys_io = DC21285_ARMCSR_BASE, | ||
19 | .io_pg_offst = ((0xfe000000) >> 18) & 0xfffc, | ||
20 | .boot_params = 0x00000100, | 18 | .boot_params = 0x00000100, |
21 | .map_io = footbridge_map_io, | 19 | .map_io = footbridge_map_io, |
22 | .init_irq = footbridge_init_irq, | 20 | .init_irq = footbridge_init_irq, |